vtasks-automate-cli 0.4.4 → 0.4.5
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/init.js +3 -3
- package/package.json +1 -1
package/init.js
CHANGED
|
@@ -157,9 +157,9 @@ const main = async () => {
|
|
|
157
157
|
const gitIgnoreFile = path.join(process.cwd(), ".gitignore");
|
|
158
158
|
|
|
159
159
|
//Replace start cmd
|
|
160
|
-
const reactPath = path.join(
|
|
161
|
-
const nextPath = path.join(
|
|
162
|
-
const serverPath = path.join(
|
|
160
|
+
const reactPath = path.join(process.cwd(), MAIN_FOLDERS.REACT);
|
|
161
|
+
const nextPath = path.join(process.cwd(), MAIN_FOLDERS.NEXT);
|
|
162
|
+
const serverPath = path.join(process.cwd(), MAIN_FOLDERS.SERVER);
|
|
163
163
|
|
|
164
164
|
if (fs.existsSync(carpetaDestino)) {
|
|
165
165
|
console.error(LOG_COLORS.RED, "Error: vTasks directory already exist");
|