@ds-sfdc/sfparty 1.2.0 → 1.2.1

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/index.js +1 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ds-sfdc/sfparty",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Salesforce metadata XML splitter for CI/CD",
5
5
  "type": "module",
6
6
  "repository": {
package/src/index.js CHANGED
@@ -280,7 +280,6 @@ function yargCheck(argv, options) {
280
280
  if ((typeof name != 'undefined' && name != '')) {
281
281
  throw new Error(chalk.redBright('You cannot specify ' + chalk.whiteBright.bgRedBright('--name') + ' when using multiple types.'))
282
282
  }
283
- return true
284
283
  } else {
285
284
  switch (argv.type) {
286
285
  case 'label':
@@ -288,10 +287,9 @@ function yargCheck(argv, options) {
288
287
  throw new Error(chalk.redBright('You cannot specify ' + chalk.whiteBright.bgRedBright('--name') + ' when using label.'))
289
288
  }
290
289
  break
291
- default:
292
- return true
293
290
  }
294
291
  }
292
+ return true
295
293
  }
296
294
 
297
295
  function displayMessageAndDuration(startTime, message) {