broccoli-caching-writer
Advanced tools
+5
-5
@@ -17,3 +17,3 @@ var fs = require('fs'); | ||
| this._shouldBeIgnoredCache = Object.create(null); | ||
| this.destDir = path.resolve(path.join('tmp', 'caching-writer-dest-dir_' + generateRandomString(6) + '.tmp')); | ||
| this._destDir = path.resolve(path.join('tmp', 'caching-writer-dest-dir_' + generateRandomString(6) + '.tmp')); | ||
@@ -101,9 +101,9 @@ options = options || {}; | ||
| .then(function() { | ||
| return rimraf(self.destDir); | ||
| return rimraf(self._destDir); | ||
| }) | ||
| .then(function() { | ||
| symlinkOrCopy.sync(self.getCacheDir(), self.destDir); | ||
| symlinkOrCopy.sync(self.getCacheDir(), self._destDir); | ||
| }) | ||
| .then(function() { | ||
| return self.destDir; | ||
| return self._destDir; | ||
| }); | ||
@@ -116,3 +116,3 @@ }; | ||
| // sadly we must use sync removal for now | ||
| rimraf.sync(this.destDir); | ||
| rimraf.sync(this._destDir); | ||
| }; | ||
@@ -119,0 +119,0 @@ |
+1
-1
| { | ||
| "name": "broccoli-caching-writer", | ||
| "version": "0.5.1", | ||
| "version": "0.5.2", | ||
| "description": "Broccoli plugin that allows simple caching (while still allowing N:N) based on the input tree hash.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
26731
0.02%