Skip to content

Commit 5def531

Browse files
committed
fix(helm/generate-docs): formatting issue
Signed-off-by: Emilien Escalle <[email protected]>
1 parent dfe0853 commit 5def531

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

actions/helm/generate-docs/action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,15 +187,17 @@ runs:
187187
WORKING_DIRECTORY: ${{ steps.prepare-variables.outputs.working-directory }}
188188
CACHE_PATH: ${{ steps.prepare-variables.outputs.prettier-cache-path }}
189189
FILES_PATTERN: ${{ steps.prepare-variables.outputs.files-pattern }}
190-
VALUES_FILE: ${{ steps.prepare-variables.outputs.values-file || '' }}
190+
VALUES_FILE: ${{ steps.prepare-variables.outputs.values-file }}
191191
with:
192192
script: |
193+
194+
193195
await exec.exec('npx', [
194196
'prettier',
195197
'--cache-location', process.env.CACHE_PATH,
196198
'--write',
197199
process.env.FILES_PATTERN,
198-
process.env.VALUES_FILE,
200+
process.env.VALUES_FILE || undefined,
199201
], {
200202
cwd: process.env.WORKING_DIRECTORY,
201203
});

0 commit comments

Comments
 (0)