Skip to content

Commit

Permalink
fix(validateAgainstOrg): utilize array flags as opposed to string
Browse files Browse the repository at this point in the history
  • Loading branch information
azlam-abdulsalam committed Feb 26, 2024
1 parent 52dda28 commit 1b6bace
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/sfp-cli/src/commands/validateAgainstOrg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import SFPLogger, { COLOR_HEADER, COLOR_KEY_MESSAGE } from '@flxblio/sfp-logger'
import * as fs from 'fs-extra';
import ValidateError from '../errors/ValidateError';
import ValidateResult from '../impl/validate/ValidateResult';
import { loglevel, logsgroupsymbol, requiredUserNameFlag, targetdevhubusername } from '../flags/sfdxflags';
import { arrayFlagSfdxStyle, loglevel, logsgroupsymbol, requiredUserNameFlag, targetdevhubusername } from '../flags/sfdxflags';
import { Flags } from '@oclif/core';


Expand All @@ -26,7 +26,8 @@ export default class ValidateAgainstOrg extends SfpCommand {
required: true,
options: ['individual', 'fastfeedback', 'thorough', 'ff-release-config', 'thorough-release-config'],
}),
releaseconfig: Flags.string({
releaseconfig: arrayFlagSfdxStyle({
aliases: ['domain'],
description: messages.getMessage('releaseConfigFileFlagDescription'),
}),
coveragepercent: Flags.integer({
Expand All @@ -39,7 +40,7 @@ export default class ValidateAgainstOrg extends SfpCommand {
}),
disableartifactupdate: Flags.boolean({
deprecated: {
message: "This flag is deprecated, Artifacts used for validation are never recorded in the org "
message: "--disableartifactupdate flag is deprecated, Artifacts used for validation are never recorded in the org "
},
description: messages.getMessage('disableArtifactUpdateFlagDescription'),
default: false,
Expand Down

0 comments on commit 1b6bace

Please sign in to comment.