1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Stream EPIPEエラー解決、データはこれからJSON保存

This commit is contained in:
Rokt33r
2015-11-25 07:37:33 +09:00
parent d4d1c32288
commit 2c39d8b1c8
11 changed files with 80 additions and 219 deletions

View File

@@ -1,5 +1,9 @@
var argv = process.argv.slice(1)
if (argv.some(arg => arg.match(/--finder/))) {
function isFinderCalled () {
var argv = process.argv.slice(1)
return argv.some(arg => arg.match(/--finder/))
}
if (isFinderCalled()) {
require('./finder.js')
} else {
require('./main.js')