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:
@@ -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)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user