Skip to content

Commit

Permalink
removed rmraf on .github (#1223)
Browse files Browse the repository at this point in the history
  • Loading branch information
bz888 committed Jul 29, 2022
1 parent 626e72a commit 7ecab3d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/cli/src/controller/init-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,6 @@ export async function prepare(projectPath: string, project: ProjectSpecBase): Pr
} catch (e) {
throw new Error('Failed to remove .git from template project');
}
try {
await promisify(rimraf)(`${projectPath}/.github`);
} catch (e) {
throw new Error('Failed to remove .github from template project');
}
}

async function preparePackage(projectPath: string, project: ProjectSpecBase): Promise<void> {
Expand Down

0 comments on commit 7ecab3d

Please sign in to comment.