Skip to content

Commit ebb97c0

Browse files
committed
refactor: one more user command with non-deprecated alias
1 parent 77f0651 commit ebb97c0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/commands/org/list/users.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
66
*/
77

8-
98
import { Connection, Messages, StateAggregator } from '@salesforce/core';
109
import {
1110
Flags,
@@ -15,7 +14,7 @@ import {
1514
SfCommand,
1615
} from '@salesforce/sf-plugins-core';
1716

18-
Messages.importMessagesDirectoryFromMetaUrl(import.meta.url)
17+
Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
1918
const messages = Messages.loadMessages('@salesforce/plugin-user', 'list');
2019

2120
export type AuthList = Partial<{
@@ -38,8 +37,8 @@ type ProfileInfo = { Id: string; Name: string };
3837
type ProfileInfoMap = Map<string, ProfileInfo>;
3938

4039
export class ListUsersCommand extends SfCommand<ListUsers> {
41-
// eslint-disable-next-line sf-plugin/encourage-alias-deprecation
4240
public static readonly aliases = ['force:user:list'];
41+
public static readonly deprecateAliases = true;
4342
public static readonly summary = messages.getMessage('summary');
4443
public static readonly description = messages.getMessage('description');
4544
public static readonly examples = messages.getMessages('examples');

0 commit comments

Comments
 (0)