Skip to content

Commit

Permalink
test: with core fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Dec 4, 2023
1 parent 8d3380d commit d6a2aa1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"bugs": "https://github.com/forcedotcom/cli/issues",
"dependencies": {
"@oclif/core": "^3.12.0",
"@salesforce/core": "^6.2.3-qa.0",
"@salesforce/core": "^6.2.3-qa.1",
"@salesforce/kit": "^3.0.15",
"@salesforce/sf-plugins-core": "^5.0.5",
"@salesforce/ts-types": "^2.0.9"
Expand Down
14 changes: 7 additions & 7 deletions src/commands/org/create/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,6 @@ type FailureMsg = {
message: string;
};

const permsetsStringToArray = (fieldsPermsets: string | string[] | undefined): string[] => {
if (!fieldsPermsets) return [];
return Array.isArray(fieldsPermsets)
? fieldsPermsets
: fieldsPermsets.split(',').map((item) => item.replace("'", '').trim());
};

export class CreateUserCommand extends SfCommand<CreateUserOutput> {
public static strict = false;
public static readonly deprecateAliases = true;
Expand Down Expand Up @@ -333,3 +326,10 @@ const getValidatedConnection = async (targetOrg: Org, apiVersion?: string): Prom
}
return conn;
};

const permsetsStringToArray = (fieldsPermsets: string | string[] | undefined): string[] => {
if (!fieldsPermsets) return [];
return Array.isArray(fieldsPermsets)
? fieldsPermsets
: fieldsPermsets.split(',').map((item) => item.replace("'", '').trim());
};
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -927,10 +927,10 @@
strip-ansi "6.0.1"
ts-retry-promise "^0.7.1"

"@salesforce/core@^5.3.20", "@salesforce/core@^6.1.0", "@salesforce/core@^6.2.0", "@salesforce/core@^6.2.3-qa.0":
version "6.2.3-qa.0"
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-6.2.3-qa.0.tgz#e73c9162aa7de77e07569f1d398ad85231b30dc5"
integrity sha512-WiTPVEzAD7XE1OzlTFAEQH/tSf7OkMHOJmBzJLdH6k/plX9qvbeShUbpeo4MiKfG7l4m0DFiwK1OcLfB0Yg4yA==
"@salesforce/core@^5.3.20", "@salesforce/core@^6.1.0", "@salesforce/core@^6.2.0", "@salesforce/core@^6.2.3-qa.0", "@salesforce/core@^6.2.3-qa.1":
version "6.2.3-qa.1"
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-6.2.3-qa.1.tgz#8defc764cd922fee22cd598ef67900fa25fe903f"
integrity sha512-WntKezbRycZeVE+GpTfjqHPudQg/mYSdBpbklimGbx7fGD0T/t9vZlx2HMUih6PmEoqwnqKMfm/LusE4BuE7Tg==
dependencies:
"@salesforce/kit" "^3.0.15"
"@salesforce/schemas" "^1.6.1"
Expand Down

0 comments on commit d6a2aa1

Please sign in to comment.