1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Ignore any errors in ~/.boostnoterc

This commit is contained in:
asmsuechan
2017-08-10 09:54:56 +09:00
parent b7b715ba3d
commit 2247c0835d

View File

@@ -14,7 +14,12 @@ function exec (boostnotercPath) {
const config = this.parse(boostnotercPath)
if (config.execs === undefined) return
_.forEach(config.execs, (exec) => {
eval(exec)
try {
eval(exec)
} catch (e) {
// Ignore any errors in ~/.boostnoterc
console.log(e)
}
})
}