grunt-cli-config
Advanced tools
Comparing version
@@ -6,7 +6,7 @@ 'use strict'; | ||
if (process.env.GRUNT_CLI_CONFIG_CODE_COVERAGE) { | ||
path = process.cwd() + '/tasks-cov/config_options'; | ||
path = __dirname + '/tasks-cov/config_options'; | ||
} else { | ||
path = process.cwd() + '/tasks/config_options'; | ||
path = __dirname + '/tasks/config_options'; | ||
} | ||
require(path); |
{ | ||
"name": "grunt-cli-config", | ||
"description": "Set the config with the options passed on the CLI.", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"homepage": "https://github.com/henvic/grunt-cli-config", | ||
@@ -6,0 +6,0 @@ "author": { |
'use strict'; | ||
var grunt = require('grunt'), | ||
configOptions = require(process.cwd() + '/tasks/config_options')(grunt), | ||
configOptions = require(__dirname + '/../tasks/config_options')(grunt), | ||
originalFlags; | ||
@@ -6,0 +6,0 @@ |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
40668
-0.02%