Ver Fonte

Decaf cleanup: unused variable

Eric Mc Sween há 5 anos atrás
pai
commit
8c70e72bfa
1 ficheiros alterados com 1 adições e 3 exclusões
  1. 1 3
      services/document-updater/app/js/DiffCodec.js

+ 1 - 3
services/document-updater/app/js/DiffCodec.js

@@ -3,13 +3,11 @@
     handle-callback-err,
     new-cap,
     no-throw-literal,
-    no-unused-vars,
 */
-let DiffCodec
 const { diff_match_patch } = require('../lib/diff_match_patch')
 const dmp = new diff_match_patch()
 
-module.exports = DiffCodec = {
+module.exports = {
   ADDED: 1,
   REMOVED: -1,
   UNCHANGED: 0,