create-payload-app
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -56,3 +56,3 @@ "use strict"; | ||
case 1: | ||
_a.trys.push([1, 6, , 7]); | ||
_a.trys.push([1, 7, , 8]); | ||
if (!(template.type === 'starter' && | ||
@@ -85,3 +85,3 @@ fs_extra_1.default.existsSync(path_1.default.join(projectDir, '.env.example')))) return [3 /*break*/, 4]; | ||
_a.sent(); | ||
_a.label = 4; | ||
return [3 /*break*/, 6]; | ||
case 4: | ||
@@ -92,5 +92,7 @@ content = "MONGODB_URI=".concat(databaseUri, "\nPAYLOAD_SECRET=").concat(payloadSecret); | ||
_a.sent(); | ||
_a.label = 6; | ||
case 6: | ||
(0, log_1.success)('.env file created'); | ||
return [3 /*break*/, 7]; | ||
case 6: | ||
return [3 /*break*/, 8]; | ||
case 7: | ||
err_1 = _a.sent(); | ||
@@ -102,4 +104,4 @@ (0, log_1.error)('Unable to write .env file'); | ||
process.exit(1); | ||
return [3 /*break*/, 7]; | ||
case 7: return [2 /*return*/]; | ||
return [3 /*break*/, 8]; | ||
case 8: return [2 /*return*/]; | ||
} | ||
@@ -106,0 +108,0 @@ }); |
@@ -40,3 +40,3 @@ { | ||
}, | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"devDependencies": { | ||
@@ -43,0 +43,0 @@ "@types/command-exists": "^1.2.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65341
1146