We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b1920e commit 1cea366Copy full SHA for 1cea366
packages/node-cli/src/core/sdksetup/SdkLicense.js
@@ -28,7 +28,7 @@ class SdkLicense {
28
return;
29
}
30
const tmpFilePath = os.tmpdir() + path.sep + LICENSE_FILENAME;
31
- const fileExists = fs.lstatSync(tmpFilePath);
+ const fileExists = fs.lstatSync(tmpFilePath, {throwIfNoEntry: false});
32
if (!fileExists) {
33
fs.copyFileSync(LICENSE_PATH, tmpFilePath);
34
0 commit comments