Skip to content

Commit b3b962a

Browse files
authored
Merge pull request #14 from electron-vite/v0.2.3
V0.2.3
2 parents bda51d1 + fa3cee4 commit b3b962a

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 0.2.3 (2023-03-13)
2+
3+
#### Main Changed
4+
5+
- 05f9a47 fix: remove `.git` after clone
6+
7+
## 0.2.2 -> 0.2.3
8+
19
## 0.2.1 (2023-03-13)
210

311
#### Main Changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-electron-vite",
3-
"version": "0.2.1",
3+
"version": "0.2.3",
44
"type": "module",
55
"description": "Scaffolding Your Electron + Vite Project",
66
"license": "MIT",

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ function gitClone({
143143
const fullCloneTargetDir = path.join(cwd, cloneTargetDir)
144144

145145
// extract files from the clone target dir
146+
fs.rmSync(path.join(fullCloneTargetDir, '.git'), { recursive: true, force: true })
146147
fs.copySync(fullCloneTargetDir, fullTargetDir)
147148
fs.rmSync(fullCloneTargetDir, { recursive: true, force: true })
148149

0 commit comments

Comments
 (0)