Skip to content

Commit 0e9faef

Browse files
committed
fix check exists branch.json
1 parent d16b4ff commit 0e9faef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/scripts/npm/processConfigXml.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@
104104
let exists;
105105

106106
try {
107-
fs.existsSync(pathToBranchJson);
108-
exists = true;
107+
exists = fs.existsSync(pathToBranchJson);
109108
} catch(err) {
110109
exists = false;
111110
}

0 commit comments

Comments
 (0)