wallaby-webpack
Advanced tools
Comparing version 3.9.10 to 3.9.11
@@ -61,4 +61,20 @@ 'use strict'; | ||
} | ||
readJson(filePath, callback) { | ||
this.readFile(filePath, (err, content) => { | ||
if (err) { | ||
callback(err); | ||
} else { | ||
var obj; | ||
try { | ||
obj = JSON.parse(content); | ||
callback(null, obj); | ||
} catch (err2) { | ||
callback(err2); | ||
} | ||
} | ||
}); | ||
} | ||
} | ||
module.exports = WallabyInputFileSystem; |
{ | ||
"name": "wallaby-webpack", | ||
"version": "3.9.10", | ||
"version": "3.9.11", | ||
"description": "Webpack postprocessor for wallaby.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23891
492