File tree Expand file tree Collapse file tree 7 files changed +15
-15
lines changed
src/commands/force/package/beta Expand file tree Collapse file tree 7 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ export class PackageConvert extends SfdxCommand {
52
52
} ) ,
53
53
} ;
54
54
55
+ // eslint-disable-next-line @typescript-eslint/require-await
55
56
public async run ( ) : Promise < unknown > {
56
- process . exitCode = 1 ;
57
- return Promise . resolve ( 'Not yet implemented' ) ;
57
+ throw new Error ( 'Beta command not yet implemented' ) ;
58
58
}
59
59
}
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ export class PackageUninstallReportCommand extends SfdxCommand {
25
25
} ) ,
26
26
} ;
27
27
28
+ // eslint-disable-next-line @typescript-eslint/require-await
28
29
public async run ( ) : Promise < unknown > {
29
- process . exitCode = 1 ;
30
- return Promise . resolve ( 'Not yet implemented' ) ;
30
+ throw new Error ( 'Beta command not yet implemented' ) ;
31
31
}
32
32
}
Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ export class PackageUpdateCommand extends SfdxCommand {
42
42
} ) ,
43
43
} ;
44
44
45
+ // eslint-disable-next-line @typescript-eslint/require-await
45
46
public async run ( ) : Promise < unknown > {
46
- process . exitCode = 1 ;
47
- return Promise . resolve ( 'Not yet implemented' ) ;
47
+ throw new Error ( 'Beta command not yet implemented' ) ;
48
48
}
49
49
}
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ export class PackageVersionCreateListCommand extends SfdxCommand {
31
31
} ) ,
32
32
} ;
33
33
34
- public async run ( ) : Promise < unknown > {
35
- process . exitCode = 1 ;
36
- return Promise . resolve ( 'Not yet implemented') ;
34
+ // eslint-disable-next-line @typescript-eslint/require-await
35
+ public async run ( ) : Promise < never > {
36
+ throw new Error ( 'Beta command not yet implemented') ;
37
37
}
38
38
}
Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ export class PackageVersionDisplayAncestryCommand extends SfdxCommand {
38
38
} ) ,
39
39
} ;
40
40
41
+ // eslint-disable-next-line @typescript-eslint/require-await
41
42
public async run ( ) : Promise < unknown > {
42
- process . exitCode = 1 ;
43
- return Promise . resolve ( 'Not yet implemented' ) ;
43
+ throw new Error ( 'Beta command not yet implemented' ) ;
44
44
}
45
45
}
Original file line number Diff line number Diff line change @@ -53,8 +53,8 @@ export class PackageVersionListCommand extends SfdxCommand {
53
53
} ) ,
54
54
} ;
55
55
56
+ // eslint-disable-next-line @typescript-eslint/require-await
56
57
public async run ( ) : Promise < unknown > {
57
- process . exitCode = 1 ;
58
- return Promise . resolve ( 'Not yet implemented' ) ;
58
+ throw new Error ( 'Beta command not yet implemented' ) ;
59
59
}
60
60
}
Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ export class PackageVersionUpdateCommand extends SfdxCommand {
51
51
} ) ,
52
52
} ;
53
53
54
+ // eslint-disable-next-line @typescript-eslint/require-await
54
55
public async run ( ) : Promise < unknown > {
55
- process . exitCode = 1 ;
56
- return Promise . resolve ( 'Not yet implemented' ) ;
56
+ throw new Error ( 'Beta command not yet implemented' ) ;
57
57
}
58
58
}
You can’t perform that action at this time.
0 commit comments