Comparing version 3.0.2 to 3.0.3
const { resolve } = require('path') | ||
const applyEnv = require('./apply-env.js') | ||
const isModuleMissing = require('./module.js') | ||
@@ -22,3 +23,3 @@ /** | ||
} catch (error) { | ||
if (error.code === 'MODULE_NOT_FOUND') { | ||
if (isModuleMissing(error)) { | ||
return false | ||
@@ -25,0 +26,0 @@ } |
const { resolve } = require('path') | ||
const applyEnv = require('./apply-env.js') | ||
const isModuleMissing = require('./module.js') | ||
@@ -22,3 +23,3 @@ /** | ||
} catch (error) { | ||
if (error.code === 'MODULE_NOT_FOUND') { | ||
if (isModuleMissing(error)) { | ||
return false | ||
@@ -25,0 +26,0 @@ } |
const { resolve } = require('path') | ||
const isModuleMissing = require('./module.js') | ||
@@ -13,3 +14,3 @@ /** | ||
} catch (error) { | ||
if (error.code === 'MODULE_NOT_FOUND') { | ||
if (isModuleMissing(error)) { | ||
return {} | ||
@@ -16,0 +17,0 @@ } |
const { resolve } = require('path') | ||
const isModuleMissing = require('./module.js') | ||
@@ -13,3 +14,3 @@ /** | ||
} catch (error) { | ||
if (error.code === 'MODULE_NOT_FOUND') { | ||
if (isModuleMissing(error)) { | ||
return {} | ||
@@ -16,0 +17,0 @@ } |
{ | ||
"name": "now-env", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Use `now.json` environment variables while developing", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
10120
11
175