This repository was archived by the owner on Mar 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
packages/sfpowerscripts-cli/src/commands/sfpowerscripts/pool Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import { COLOR_HEADER } from '@dxatscale/sfp-logger';
1313import { COLOR_SUCCESS } from '@dxatscale/sfp-logger' ;
1414import { COLOR_TIME } from '@dxatscale/sfp-logger' ;
1515import getFormattedTime from '@dxatscale/sfpowerscripts.core/lib/utils/GetFormattedTime' ;
16+ import SfpowerscriptsCommand from '../../../SfpowerscriptsCommand' ;
1617
1718// Initialize Messages with the current plugin directory
1819Messages . importMessagesDirectory ( __dirname ) ;
@@ -21,7 +22,7 @@ Messages.importMessagesDirectory(__dirname);
2122// or any library that is using the messages framework can also be loaded this way.
2223const messages = Messages . loadMessages ( '@dxatscale/sfpowerscripts' , 'scratchorg_poolFetch' ) ;
2324
24- export default class Fetch extends SfdxCommand {
25+ export default class Fetch extends SfpowerscriptsCommand {
2526 public static description = messages . getMessage ( 'commandDescription' ) ;
2627
2728 protected static requiresDevhubUsername = true ;
@@ -81,7 +82,7 @@ export default class Fetch extends SfdxCommand {
8182 } ) ,
8283 } ;
8384
84- public async run ( ) : Promise < AnyJson > {
85+ public async execute ( ) : Promise < AnyJson > {
8586 const fetchStartTime : number = Date . now ( ) ;
8687
8788 if ( ! fs . existsSync ( 'sfdx-project.json' ) )
You can’t perform that action at this time.
0 commit comments