informa-db.js
Advanced tools
Comparing version 1.0.9 to 1.0.10
const fs = require("fs"); | ||
const utils = require("./utils"); | ||
@@ -66,3 +65,3 @@ let mongo; | ||
if (!fs.existsSync(path)) { | ||
fs.writeFileSync(path, defaultStr || "{}", utils.throwErrorIfError); | ||
fs.writeFileSync(path, defaultStr || "{}", e=>{if(e)throw e}); | ||
} | ||
@@ -69,0 +68,0 @@ |
{ | ||
"name": "informa-db.js", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "DataBases made easier", | ||
@@ -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
13407
352