Skip to content

Commit

Permalink
Enable usage of WritePipelineEnv step (#239)
Browse files Browse the repository at this point in the history
* Enable usage of WritePipelineEnv step

The step was failing with: \"error\":\"failed to resolve metadata: could not retrieve by stepName writePipelineEnv\"

* npm runs
  • Loading branch information
D074360 authored Jan 28, 2025
1 parent 742a63d commit abab7f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export function generateDefaultConfigFlags (paths: string[]): string[] {
}

export async function readContextConfig (stepName: string, flags: string[]): Promise<any> {
if (['version', 'help', 'getConfig', 'getDefaults'].includes(stepName)) {
if (['version', 'help', 'getConfig', 'getDefaults', 'writePipelineEnv'].includes(stepName)) {
return {}
}

Expand Down

0 comments on commit abab7f5

Please sign in to comment.