This repository was archived by the owner on Apr 13, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ describe("addChartToRing", () => {
174174 } ;
175175
176176 /* tslint:disable-next-line: no-string-literal */
177- const addHelmChartCommand = `fab add chart --source ${ git } --path ${ path } --branch ${ branch } ` ;
177+ const addHelmChartCommand = `fab add chart --source ${ git } --path ${ path } --branch ${ branch } --type helm ` ;
178178
179179 const expectedInvocation = `cd ${ ringPath } && ${ addHelmChartCommand } ` ;
180180
@@ -204,7 +204,7 @@ describe("addChartToRing", () => {
204204 } ;
205205
206206 /* tslint:disable-next-line: no-string-literal */
207- const addHelmChartCommand = `fab add chart --source ${ git } --path ${ path } --version ${ sha } ` ;
207+ const addHelmChartCommand = `fab add chart --source ${ git } --path ${ path } --version ${ sha } --type helm ` ;
208208
209209 const expectedInvocation = `cd ${ ringPath } && ${ addHelmChartCommand } ` ;
210210
@@ -232,7 +232,7 @@ describe("addChartToRing", () => {
232232 } ;
233233
234234 /* tslint:disable-next-line: no-string-literal */
235- const addHelmChartCommand = `fab add chart --source ${ repository } --path ${ chart } ` ;
235+ const addHelmChartCommand = `fab add chart --source ${ repository } --path ${ chart } --type helm ` ;
236236
237237 const expectedInvocation = `cd ${ ringPath } && ${ addHelmChartCommand } ` ;
238238
Original file line number Diff line number Diff line change @@ -363,9 +363,9 @@ export const addChartToRing = async (
363363 if ( "git" in chart ) {
364364 const chartVersioning =
365365 "branch" in chart ? `--branch ${ chart . branch } ` : `--version ${ chart . sha } ` ;
366- addHelmChartCommand = `fab add chart --source ${ chart . git } --path ${ chart . path } ${ chartVersioning } ` ;
366+ addHelmChartCommand = `fab add chart --source ${ chart . git } --path ${ chart . path } ${ chartVersioning } --type helm ` ;
367367 } else if ( "repository" in chart ) {
368- addHelmChartCommand = `fab add chart --source ${ chart . repository } --path ${ chart . chart } ` ;
368+ addHelmChartCommand = `fab add chart --source ${ chart . repository } --path ${ chart . chart } --type helm ` ;
369369 }
370370
371371 await execCmd ( `cd ${ ringPathInHld } && ${ addHelmChartCommand } ` ) ;
You can’t perform that action at this time.
0 commit comments