@cocreate/cli
Advanced tools
Comparing version 1.39.1 to 1.39.2
{ | ||
"name": "@cocreate/cli", | ||
"version": "1.39.1", | ||
"version": "1.39.2", | ||
"description": "Polyrepo management bash CLI tool. Run all git commands and yarn commands on multiple repositories. Also includes a few custom macros for cloning, installing, etc.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -8,5 +8,5 @@ const file = require('@cocreate/file') | ||
if (!args.length) { | ||
let configFile = path.resolve(process.cwd(), 'CoCreate.config.js'); | ||
if (!CoCreateConfig && fs.existsSync(configFile)) { | ||
CoCreateConfig = require(configFile); | ||
let configPath = path.resolve(process.cwd(), 'CoCreate.config.js'); | ||
if (!CoCreateConfig && fs.existsSync(configPath)) { | ||
CoCreateConfig = require(configPath); | ||
} else { | ||
@@ -17,3 +17,3 @@ console.log('CoCreate.config.js could not be found.') | ||
await file(CoCreateConfig) | ||
await file(CoCreateConfig, configPath) | ||
@@ -20,0 +20,0 @@ } else { |
Sorry, the diff of this file is too big to display
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
174584