We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 121de0d commit ef0d2c7Copy full SHA for ef0d2c7
1 file changed
gulp/utils/prepare.js
@@ -7,9 +7,11 @@ import { fileURLToPath } from 'node:url';
7
if (!existsSync('.git')) {
8
const projectName = basename(resolve('.'));
9
10
- // Remove CI workflows (only needed for the template repo)
11
- if (existsSync('.github/workflows')) {
12
- rmSync('.github/workflows', { recursive: true });
+ // Remove template-specific files
+ for (const file of ['LICENSE', '.github/workflows']) {
+ if (existsSync(file)) {
13
+ rmSync(file, { recursive: true });
14
+ }
15
}
16
17
// Reset package.json to a clean project state
0 commit comments