@cabloy/cli 3.0.63 → 3.0.64

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.
@@ -275,9 +275,11 @@ export class LocalTemplate {
275
275
  // save
276
276
  fs.writeFileSync(targetFile, outputCode);
277
277
  // format
278
- await catchError(() => {
279
- return this.helper.formatFile({ fileName: targetFile, logPrefix: 'format: ' });
280
- });
278
+ if (!this.context.argv.noformat) {
279
+ await catchError(() => {
280
+ return this.helper.formatFile({ fileName: targetFile, logPrefix: 'format: ' });
281
+ });
282
+ }
281
283
  }
282
284
  }
283
285
  _parseSnippetFilePrefix(fileName) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cabloy/cli",
3
3
  "type": "module",
4
- "version": "3.0.63",
4
+ "version": "3.0.64",
5
5
  "description": "@cabloy/cli",
6
6
  "publishConfig": {
7
7
  "access": "public"