Skip to content

Commit

Permalink
fix(permset): fix deprecated command being used in assigning permset
Browse files Browse the repository at this point in the history
  • Loading branch information
azlam-abdulsalam committed Oct 12, 2023
1 parent f73a076 commit 386990b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/permsets/AssignPermissionSetsImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default class AssignPermissionSetsImpl {

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

0 comments on commit 386990b

Please sign in to comment.