Skip to content

Commit a02d0c7

Browse files
committed
fix: supress error messages during symlinking
1 parent 96cba86 commit a02d0c7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.suite-cli/cli/scripts/addDepsAtWorkspace.cmd.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
const { addDepsAtWorkspace, logSuccess, logError } = require('./scripts.module')
2+
const { addDepsAtWorkspace, logSuccess, logError, logInfo } = require('./scripts.module')
33
const { program } = require('commander');
44

55

@@ -18,7 +18,8 @@ program
1818
});
1919
logSuccess({ message })
2020
} catch (error) {
21-
logError({ error })
21+
const CODE = error.split(':')[1]
22+
if(![' EEXIST',' ENOENT',' EINVAL',' ENOTDIR'].includes(CODE))logError({ error })
2223
}
2324
});
2425
program.parse(process.argv);

0 commit comments

Comments
 (0)