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/artifacts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { Messages } from '@salesforce/core';
44import FetchImpl , { ArtifactVersion } from '../../impl/artifacts/FetchImpl' ;
55import ReleaseDefinition from '../../impl/release/ReleaseDefinition' ;
66import FetchArtifactsError from '../../impl/artifacts/FetchArtifactsError' ;
7+ import { ConsoleLogger } from '@dxatscale/sfp-logger' ;
78
89Messages . importMessagesDirectory ( __dirname ) ;
910const messages = Messages . loadMessages ( '@dxatscale/sfpowerscripts' , 'fetch' ) ;
@@ -73,7 +74,6 @@ export default class Fetch extends SfpowerscriptsCommand {
7374 this . validateFlags ( ) ;
7475
7576 let releaseDefinition = ( await ReleaseDefinition . loadReleaseDefinition ( this . flags . releasedefinition ) ) . releaseDefinition ;
76-
7777 let result : {
7878 success : ArtifactVersion [ ] ;
7979 failed : ArtifactVersion [ ] ;
@@ -84,9 +84,9 @@ export default class Fetch extends SfpowerscriptsCommand {
8484 let fetchImpl : FetchImpl = new FetchImpl (
8585 this . flags . artifactdir ,
8686 this . flags . scriptpath ,
87- this . flags . npm ,
8887 this . flags . scope ,
89- this . flags . npmrcpath
88+ this . flags . npmrcpath ,
89+ new ConsoleLogger ( )
9090 ) ;
9191
9292 result = await fetchImpl . fetchArtifacts ( [ releaseDefinition ] ) ;
You can’t perform that action at this time.
0 commit comments