From a4e10f5ba5d746ad42eada126fd0782f109e0481 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Thu, 21 Jun 2018 23:35:52 -0600 Subject: [PATCH] Add .eslintignore, tidy up a bit --- .eslintignore | 2 ++ core/scanner_tossers/ftn_bso.js | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .eslintignore diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 00000000..b1342397 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,2 @@ +# ACS parser is generated +core/acs_parser.js diff --git a/core/scanner_tossers/ftn_bso.js b/core/scanner_tossers/ftn_bso.js index c5fa3f57..98fece9b 100644 --- a/core/scanner_tossers/ftn_bso.js +++ b/core/scanner_tossers/ftn_bso.js @@ -51,7 +51,7 @@ exports.moduleInfo = { exports.getModule = FTNMessageScanTossModule; -const SCHEDULE_REGEXP = /(?:^|or )?(@watch\:|@immediate)([^\0]+)?$/; +const SCHEDULE_REGEXP = /(?:^|or )?(@watch:|@immediate)([^\0]+)?$/; function FTNMessageScanTossModule() { MessageScanTossModule.call(this); @@ -1569,7 +1569,7 @@ function FTNMessageScanTossModule() { // // All extracted - import .pkt's // - self.importPacketFilesFromDirectory(self.importTempDir, '', err => { + self.importPacketFilesFromDirectory(self.importTempDir, '', () => { // :TODO: handle |err| callback(null, bundleFiles, rejects); });