Skip to content

Commit d4311f7

Browse files
author
Fatme
authored
Merge pull request #47 from NativeScript/fatme/fix-badf-error
fix: fix sporadic "EBADF: bad file descriptor, write" error
2 parents 19a2d59 + 4174ee5 commit d4311f7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lib/wrappers/file-system.ts

-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ export class FileSystem {
3737
const outfile = fs.createWriteStream(filePath);
3838
stream.once('end', () => {
3939
zipFile.readEntry();
40-
outfile.close();
4140
});
4241
stream.pipe(outfile);
4342
});

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-doctor",
3-
"version": "1.7.0",
3+
"version": "1.8.0",
44
"description": "Library that helps identifying if the environment can be used for development of {N} apps.",
55
"main": "lib/index.js",
66
"types": "./typings/nativescript-doctor.d.ts",

0 commit comments

Comments
 (0)