update make-link
This commit is contained in:
parent
38b8677c15
commit
d5bf3cbc66
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ if (targetDir === '') {
|
|||
log('"targetDir" is empty, try to get SiYuan directory automatically....')
|
||||
let res = await getSiYuanDir();
|
||||
|
||||
if (res === null) {
|
||||
if (res === null || res === undefined || res.length === 0) {
|
||||
log('Failed! You can set the plugin directory in scripts/make_dev_link.js and try again');
|
||||
process.exit(1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue