@anaemia/cli 0.1.5 → 0.1.6

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.js CHANGED
@@ -271,8 +271,8 @@ cli
271
271
  execSync(`npx degit colourlabs/anaemia/templates/base-app "${targetPath}"`, { stdio: "ignore" });
272
272
  }
273
273
  }
274
- catch {
275
- logger.error("Could not source template workspace assets locally or from network registry nodes.");
274
+ catch (err) {
275
+ logger.error("could not source template workspace assets locally or from network registry nodes. " + err);
276
276
  process.exit(1);
277
277
  }
278
278
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anaemia/cli",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "anaemia": "./dist/index.js"
package/src/index.ts CHANGED
@@ -320,8 +320,8 @@ cli
320
320
  } else {
321
321
  execSync(`npx degit colourlabs/anaemia/templates/base-app "${targetPath}"`, { stdio: "ignore" });
322
322
  }
323
- } catch {
324
- logger.error("Could not source template workspace assets locally or from network registry nodes.");
323
+ } catch (err) {
324
+ logger.error("could not source template workspace assets locally or from network registry nodes. " + err);
325
325
  process.exit(1);
326
326
  }
327
327
  }