We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38b8677 commit d5bf3cbCopy full SHA for d5bf3cb
scripts/make_dev_link.js
@@ -93,7 +93,7 @@ if (targetDir === '') {
93
log('"targetDir" is empty, try to get SiYuan directory automatically....')
94
let res = await getSiYuanDir();
95
96
- if (res === null) {
+ if (res === null || res === undefined || res.length === 0) {
97
log('Failed! You can set the plugin directory in scripts/make_dev_link.js and try again');
98
process.exit(1);
99
}
0 commit comments