Comparing version 1.0.9 to 1.1.0
@@ -77,4 +77,4 @@ const WebTorrent = require('webtorrent') | ||
const useData = await fs.readFile(path.join(this._author, data)) | ||
const parsedData = JSON.parse(useData.toString()) | ||
try { | ||
const parsedData = JSON.parse(useData.toString()) | ||
await this.saveData(parsedData) | ||
@@ -349,2 +349,4 @@ } catch (err) { | ||
await fs.emptyDir(folderPath) | ||
} else { | ||
await fs.ensureDir(folderPath) | ||
} | ||
@@ -421,2 +423,4 @@ // await Promise.race([ | ||
await fs.emptyDir(folderPath) | ||
} else { | ||
await fs.ensureDir(folderPath) | ||
} | ||
@@ -423,0 +427,0 @@ // await Promise.race([ |
{ | ||
"name": "torrentz", | ||
"version": "1.0.9", | ||
"version": "1.1.0", | ||
"description": "", | ||
@@ -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
25454
603