This repository was archived by the owner on Mar 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/sfpowerscripts-cli/src/commands/artifacts Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { Messages } from '@salesforce/core';
4
4
import FetchImpl , { ArtifactVersion } from '../../impl/artifacts/FetchImpl' ;
5
5
import ReleaseDefinition from '../../impl/release/ReleaseDefinition' ;
6
6
import FetchArtifactsError from '../../impl/artifacts/FetchArtifactsError' ;
7
+ import { ConsoleLogger } from '@dxatscale/sfp-logger' ;
7
8
8
9
Messages . importMessagesDirectory ( __dirname ) ;
9
10
const messages = Messages . loadMessages ( '@dxatscale/sfpowerscripts' , 'fetch' ) ;
@@ -73,7 +74,6 @@ export default class Fetch extends SfpowerscriptsCommand {
73
74
this . validateFlags ( ) ;
74
75
75
76
let releaseDefinition = ( await ReleaseDefinition . loadReleaseDefinition ( this . flags . releasedefinition ) ) . releaseDefinition ;
76
-
77
77
let result : {
78
78
success : ArtifactVersion [ ] ;
79
79
failed : ArtifactVersion [ ] ;
@@ -84,9 +84,9 @@ export default class Fetch extends SfpowerscriptsCommand {
84
84
let fetchImpl : FetchImpl = new FetchImpl (
85
85
this . flags . artifactdir ,
86
86
this . flags . scriptpath ,
87
- this . flags . npm ,
88
87
this . flags . scope ,
89
- this . flags . npmrcpath
88
+ this . flags . npmrcpath ,
89
+ new ConsoleLogger ( )
90
90
) ;
91
91
92
92
result = await fetchImpl . fetchArtifacts ( [ releaseDefinition ] ) ;
You can’t perform that action at this time.
0 commit comments