Skip to content

Commit a5d4912

Browse files
committed
fix: revert back to delete
Signed-off-by: Tierney Cyren <[email protected]>
1 parent c56cecf commit a5d4912

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/commands/token/capability/worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class WorkerCapabilityTokenGenerator extends TwilioClientCommand {
107107
}
108108

109109
const globals = { ...globalFlags };
110-
globals.identity = undefined;
110+
delete globals.identity;
111111

112112
WorkerCapabilityTokenGenerator.flags = Object.assign(
113113
taskrouterFlags,

src/commands/token/flex.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class FlexTokenGenerator extends TwilioClientCommand {
4949
}
5050

5151
const globals = { ...globalFlags };
52-
globals.identity = undefined;
52+
delete globals.identity;
5353

5454
FlexTokenGenerator.flags = Object.assign(
5555
taskrouterFlags,

0 commit comments

Comments
 (0)