aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-compiler/src/utils
diff options
context:
space:
mode:
authorF. Eugene Aumson <gene@aumson.org>2018-08-17 04:59:46 +0800
committerF. Eugene Aumson <gene@aumson.org>2018-08-17 06:01:33 +0800
commit402ca27fbf91f543addf0d4618e071ae10cfd70e (patch)
tree889ac48b996dfa2aa037a713fc32f7f1084fa98f /packages/sol-compiler/src/utils
parent85427a84df9954c5849ea471f549549bc1486aec (diff)
downloaddexon-sol-tools-402ca27fbf91f543addf0d4618e071ae10cfd70e.tar
dexon-sol-tools-402ca27fbf91f543addf0d4618e071ae10cfd70e.tar.gz
dexon-sol-tools-402ca27fbf91f543addf0d4618e071ae10cfd70e.tar.bz2
dexon-sol-tools-402ca27fbf91f543addf0d4618e071ae10cfd70e.tar.lz
dexon-sol-tools-402ca27fbf91f543addf0d4618e071ae10cfd70e.tar.xz
dexon-sol-tools-402ca27fbf91f543addf0d4618e071ae10cfd70e.tar.zst
dexon-sol-tools-402ca27fbf91f543addf0d4618e071ae10cfd70e.zip
change some *Sync to *Async
Diffstat (limited to 'packages/sol-compiler/src/utils')
-rw-r--r--packages/sol-compiler/src/utils/fs_wrapper.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/sol-compiler/src/utils/fs_wrapper.ts b/packages/sol-compiler/src/utils/fs_wrapper.ts
index 6e3547a76..44c97bd1e 100644
--- a/packages/sol-compiler/src/utils/fs_wrapper.ts
+++ b/packages/sol-compiler/src/utils/fs_wrapper.ts
@@ -12,4 +12,5 @@ export const fsWrapper = {
removeFileAsync: promisify<undefined>(fs.unlink),
statAsync: promisify<fs.Stats>(fs.stat),
appendFileAsync: promisify<undefined>(fs.appendFile),
+ accessAsync: promisify<boolean>(fs.access),
};