Skip to content

Commit

Permalink
fix(core): npm prepare script may be removed
Browse files Browse the repository at this point in the history
Closes #101
  • Loading branch information
AgentEnder committed Sep 15, 2021
1 parent bb927a0 commit b8e88fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/src/generators/init/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@ export default async function (
host.write(CONFIG_FILE_PATH, JSON.stringify(configObject, null, 2));

updateNxJson(host);

if (!initialized) {
updateGitIgnore(host, readWorkspaceConfiguration(host));
addPrepareScript(host);
}

initToolManifest(host, dotnetClient);
addPrepareScript(host);
}

function updateGitIgnore(
Expand Down

0 comments on commit b8e88fa

Please sign in to comment.