create-umi 4.6.2 → 4.6.3

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 +1 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -288,8 +288,7 @@ 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)
292
- return;
291
+ if (isGit) return;
293
292
  try {
294
293
  await import_utils.execa.execa("git", ["init"], { cwd: projectRoot });
295
294
  } catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-umi",
3
- "version": "4.6.2",
3
+ "version": "4.6.3",
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.2"
22
+ "@umijs/utils": "4.6.3"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public"