Skip to content

Commit a167caf

Browse files
YanpasJohnstonCode
authored andcommitted
fix: Fix Svn not found on vs code reload
1 parent 5f0c725 commit a167caf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/svnFinder.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export class SvnFinder {
104104
child.stdout.on("data", (b: Buffer) => buffers.push(b));
105105
child.on("error", cpErrorHandler(e));
106106
child.on(
107-
"exit",
107+
"close",
108108
code =>
109109
code
110110
? e(new Error("Not found"))
@@ -127,7 +127,7 @@ export class SvnFinder {
127127
child.stdout.on("data", (b: Buffer) => buffers.push(b));
128128
child.on("error", cpErrorHandler(e));
129129
child.on(
130-
"exit",
130+
"close",
131131
code =>
132132
code || Buffer.concat(buffers).toString("utf8").length < 100
133133
? e(new Error("Not found"))

0 commit comments

Comments
 (0)