Skip to content
This repository was archived by the owner on Mar 18, 2024. It is now read-only.

Commit 386990b

Browse files
fix(permset): fix deprecated command being used in assigning permset
1 parent f73a076 commit 386990b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/src/permsets/AssignPermissionSetsImpl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default class AssignPermissionSetsImpl {
4848

4949
try {
5050
let permsetAssignmentJson: string = child_process.execSync(
51-
`sfdx force:user:permset:assign -n ${permSet} -u ${this.conn.getUsername()} --json`,
51+
`sf org assign permset -n ${permSet} -o ${this.conn.getUsername()} --json`,
5252
{
5353
cwd: this.project_directory,
5454
encoding: 'utf8',

0 commit comments

Comments
 (0)