aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-compiler/src/utils/fs_wrapper.ts
diff options
context:
space:
mode:
authorF. Eugene Aumson <gene@aumson.org>2018-08-15 08:40:31 +0800
committerF. Eugene Aumson <gene@aumson.org>2018-08-15 08:40:31 +0800
commitbb4558e0be3aa9c182217e56cd2ff2f042d5473a (patch)
tree667d8d7f8af53d1f8b9f4826fcdc1157ef86bc37 /packages/sol-compiler/src/utils/fs_wrapper.ts
parente79c7632e6e82ecc53563da6d8727ce4475078c6 (diff)
downloaddexon-0x-contracts-bb4558e0be3aa9c182217e56cd2ff2f042d5473a.tar.gz
dexon-0x-contracts-bb4558e0be3aa9c182217e56cd2ff2f042d5473a.tar.zst
dexon-0x-contracts-bb4558e0be3aa9c182217e56cd2ff2f042d5473a.zip
test compiler
Diffstat (limited to 'packages/sol-compiler/src/utils/fs_wrapper.ts')
-rw-r--r--packages/sol-compiler/src/utils/fs_wrapper.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/sol-compiler/src/utils/fs_wrapper.ts b/packages/sol-compiler/src/utils/fs_wrapper.ts
index cc7b06175..6e3547a76 100644
--- a/packages/sol-compiler/src/utils/fs_wrapper.ts
+++ b/packages/sol-compiler/src/utils/fs_wrapper.ts
@@ -10,4 +10,6 @@ export const fsWrapper = {
doesPathExistSync: fs.existsSync,
rmdirSync: fs.rmdirSync,
removeFileAsync: promisify<undefined>(fs.unlink),
+ statAsync: promisify<fs.Stats>(fs.stat),
+ appendFileAsync: promisify<undefined>(fs.appendFile),
};