@netlify/cache-utils
Advanced tools
Comparing version 1.0.7 to 1.0.8-0
{ | ||
"name": "@netlify/cache-utils", | ||
"version": "1.0.7", | ||
"version": "1.0.8-0", | ||
"description": "Utility for caching files in Netlify Build", | ||
@@ -5,0 +5,0 @@ "main": "src/main.js", |
@@ -9,9 +9,9 @@ 'use strict' | ||
// Retrieve the cache directory location | ||
const getCacheDir = function ({ cacheDir, mode, isTest } = {}) { | ||
const getCacheDir = function ({ cacheDir, cwd = '.', mode, isTest } = {}) { | ||
if (cacheDir !== undefined) { | ||
return resolve(cacheDir) | ||
return resolve(cwd, cacheDir) | ||
} | ||
if (mode !== 'buildbot') { | ||
return resolve(LOCAL_CACHE_DIR) | ||
return resolve(cwd, LOCAL_CACHE_DIR) | ||
} | ||
@@ -18,0 +18,0 @@ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
23056
1