From ecd603928be8e4b784fa8b86984bead636bf2bb2 Mon Sep 17 00:00:00 2001 From: vvakame Date: Tue, 7 Oct 2014 15:23:18 +0900 Subject: [PATCH] fix fs-extra/fs-extra-tests.ts --- fs-extra/fs-extra-tests.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs-extra/fs-extra-tests.ts b/fs-extra/fs-extra-tests.ts index ea3432e1cf..939821b6da 100644 --- a/fs-extra/fs-extra-tests.ts +++ b/fs-extra/fs-extra-tests.ts @@ -145,9 +145,9 @@ fs.readdir(path, (err: Error, files: string[]) => { strArr = fs.readdirSync(path); fs.close(fd, errorCallback); fs.closeSync(fd); -fs.open(path, flags, modeStr, (err: Error, fd: number) => [ - -]); +fs.open(path, flags, modeStr, (err: Error, fd: number) => { + +}); num = fs.openSync(path, flags, modeStr); fs.utimes(path, atime, mtime, errorCallback); fs.utimesSync(path, atime, mtime);