log
This commit is contained in:
parent
b3088200b1
commit
3853269e82
1 changed files with 2 additions and 1 deletions
|
@ -33,6 +33,7 @@ async function getSiYuanDir() {
|
|||
}
|
||||
} catch (e) {
|
||||
log("Error:", e);
|
||||
log("Please make sure SiYuan is running!!!");
|
||||
return null;
|
||||
}
|
||||
return conf.data;
|
||||
|
@ -67,7 +68,7 @@ if (targetDir === '') {
|
|||
let res = await getSiYuanDir();
|
||||
|
||||
if (res === null) {
|
||||
log('Failed! Please set the plugin directory in scripts/make_dev_link.js');
|
||||
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