mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-08-08 09:53:20 +02:00
Updated exists to async
This commit is contained in:
@@ -3,5 +3,6 @@ export * from './existsAsync';
|
||||
export * from './mkdirAsync';
|
||||
export * from './readFileAsync';
|
||||
export * from './readdirAsync';
|
||||
export * from './renameAsync';
|
||||
export * from './unlinkAsync';
|
||||
export * from './writeFileAsync';
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
import { promisify } from "util";
|
||||
import { rename as renameCb } from "fs";
|
||||
|
||||
export const renameAsync = promisify(renameCb);
|
||||
Reference in New Issue
Block a user