nolimit-x 1.0.41 → 1.0.42
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/package.json +1 -1
- package/src/cli.js +2 -0
package/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -215,6 +215,8 @@ async function initSMSWorkspace(workspace) {
|
|
|
215
215
|
const fs = require('fs');
|
|
216
216
|
const path = require('path');
|
|
217
217
|
const dir = path.resolve(process.cwd(), workspace);
|
|
218
|
+
|
|
219
|
+
console.log('>>> [SMS INIT] Checking if directory exists:', dir);
|
|
218
220
|
if (fs.existsSync(dir)) {
|
|
219
221
|
spinner.fail(`Directory ${workspace} already exists!`);
|
|
220
222
|
process.exit(1);
|