summaryrefslogtreecommitdiff
path: root/lib/workers
diff options
context:
space:
mode:
authorBoHong Li2017-04-13 00:20:28 +0800
committerRaccoon Li2017-05-08 19:29:06 +0800
commitaca01f064d605d8f143d75f0fd1c1a82b9a8f396 (patch)
treebc56a4e4856ea62e5f5e7d1495838c3f45d4ad52 /lib/workers
parent41f34735a175d018cc3575449467df0fdd7c530e (diff)
refactor: Remove `require` extension filename
Diffstat (limited to 'lib/workers')
-rw-r--r--lib/workers/dmpWorker.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/workers/dmpWorker.js b/lib/workers/dmpWorker.js
index b0ed0f43..60db0a12 100644
--- a/lib/workers/dmpWorker.js
+++ b/lib/workers/dmpWorker.js
@@ -4,8 +4,8 @@ var DiffMatchPatch = require('diff-match-patch')
var dmp = new DiffMatchPatch()
// core
-var config = require('../config.js')
-var logger = require('../logger.js')
+var config = require('../config')
+var logger = require('../logger')
process.on('message', function (data) {
if (!data || !data.msg || !data.cacheKey) {