-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node not bash for init #404
Conversation
🦋 Changeset detectedLatest commit: b96afbd The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
process.exit(1); | ||
} | ||
|
||
execSync(`git clone ${template} ${initPath}`); |
Check warning
Code scanning / CodeQL
Shell command built from environment values Medium
absolute path
const muPluginPath = `${initPath}/mu-plugins/${projectNameLowercaseHypen}-plugin`; | ||
|
||
// Copy contents of toolkitPath/project/local into initPath | ||
execSync(`rsync -rc "${toolkitPath}/project/local/" "${initPath}"`); |
Check warning
Code scanning / CodeQL
Shell command built from environment values Medium
absolute path
This shell command depends on an uncontrolled
Move init command to node