create-umi 4.6.0 → 4.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -288,7 +288,8 @@ async function moveNpmrc(opts) {
288
288
  async function initGit(opts) {
289
289
  const { projectRoot } = opts;
290
290
  const isGit = (0, import_fs.existsSync)((0, import_path.join)(projectRoot, ".git"));
291
- if (isGit) return;
291
+ if (isGit)
292
+ return;
292
293
  try {
293
294
  await import_utils.execa.execa("git", ["init"], { cwd: projectRoot });
294
295
  } catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-umi",
3
- "version": "4.6.0",
3
+ "version": "4.6.2",
4
4
  "description": "create-umi",
5
5
  "homepage": "https://github.com/umijs/umi/tree/master/packages/create-umi#readme",
6
6
  "bugs": "https://github.com/umijs/umi/issues",
@@ -19,7 +19,7 @@
19
19
  "templates"
20
20
  ],
21
21
  "dependencies": {
22
- "@umijs/utils": "4.6.0"
22
+ "@umijs/utils": "4.6.2"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public"