flash-builder 1.0.11 → 1.0.12
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.
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -9819,7 +9819,7 @@ var meow = (helpText, options = {}) => {
|
|
|
9819
9819
|
};
|
|
9820
9820
|
|
|
9821
9821
|
// version.ts
|
|
9822
|
-
var version = "1.0.
|
|
9822
|
+
var version = "1.0.12";
|
|
9823
9823
|
var version_default = version;
|
|
9824
9824
|
|
|
9825
9825
|
// src/banner.ts
|
|
@@ -9933,7 +9933,7 @@ function beCommand(projectName, verbose, targetPath) {
|
|
|
9933
9933
|
projectPath = import_node_path3.join(PWD, projectName);
|
|
9934
9934
|
actualProjectName = projectName;
|
|
9935
9935
|
}
|
|
9936
|
-
if (import_node_fs2.existsSync(projectPath)) {
|
|
9936
|
+
if (import_node_fs2.existsSync(projectPath) && !isCurrentDir) {
|
|
9937
9937
|
if (IS_NPMJS) {
|
|
9938
9938
|
console.error(`\u274C Error: Directory '${projectName}' already exists`);
|
|
9939
9939
|
process.exit(1);
|
package/dist/index.js
CHANGED
|
@@ -9820,7 +9820,7 @@ var meow = (helpText, options = {}) => {
|
|
|
9820
9820
|
};
|
|
9821
9821
|
|
|
9822
9822
|
// version.ts
|
|
9823
|
-
var version = "1.0.
|
|
9823
|
+
var version = "1.0.12";
|
|
9824
9824
|
var version_default = version;
|
|
9825
9825
|
|
|
9826
9826
|
// src/banner.ts
|
|
@@ -9934,7 +9934,7 @@ function beCommand(projectName, verbose, targetPath) {
|
|
|
9934
9934
|
projectPath = join(PWD, projectName);
|
|
9935
9935
|
actualProjectName = projectName;
|
|
9936
9936
|
}
|
|
9937
|
-
if (existsSync(projectPath)) {
|
|
9937
|
+
if (existsSync(projectPath) && !isCurrentDir) {
|
|
9938
9938
|
if (IS_NPMJS) {
|
|
9939
9939
|
console.error(`\u274C Error: Directory '${projectName}' already exists`);
|
|
9940
9940
|
process.exit(1);
|