nolimit-x 1.0.41 → 1.0.43

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/package.json +1 -1
  2. package/src/cli.js +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nolimit-x",
3
- "version": "1.0.41",
3
+ "version": "1.0.43",
4
4
  "description": "Advanced email sender ",
5
5
  "main": "src/cli.js",
6
6
  "bin": {
package/src/cli.js CHANGED
@@ -215,10 +215,13 @@ 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);
221
223
  }
224
+ console.log('>>> [SMS INIT] About to enter try/copy block');
222
225
  try {
223
226
  // Copy all files and folders from phonebook/ to the new workspace
224
227
  fse.copySync(phonebookTemplateDir, dir, { overwrite: false, errorOnExist: false });