File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -406,7 +406,7 @@ Alternatively you can auto-add one using the {grey --add <name>} option.`);
406406
407407 let updatestatic ;
408408 // bind helix-services
409- if ( this . _bindStatic ) {
409+ if ( this . _bindStatic && ! this . _dryRun ) {
410410 updatestatic = openwhisk . packages . update ( {
411411 package : {
412412 binding : {
@@ -457,7 +457,7 @@ Alternatively you can auto-add one using the {grey --add <name>} option.`);
457457
458458 let numErrors = 0 ;
459459 let staticactionname = '/hlx--static' ;
460- if ( this . _bindStatic ) {
460+ if ( this . _bindStatic && ! this . _dryRun ) {
461461 // probe Helix Static action for version number
462462 await request . get ( 'https://adobeioruntime.net/api/v1/web/helix/helix-services/static@latest' , {
463463 resolveWithFullResponse : true ,
@@ -471,7 +471,7 @@ Alternatively you can auto-add one using the {grey --add <name>} option.`);
471471 } ) ;
472472 }
473473
474- if ( ! numErrors ) {
474+ if ( ! numErrors && ! this . _dryRun ) {
475475 await openwhisk . actions . update ( {
476476 name : `${ this . _prefix } /hlx--static` ,
477477 action : {
You can’t perform that action at this time.
0 commit comments