Skip to content

Commit 5b8425f

Browse files
committed
fix(docs): license setup command clarification
1 parent 0a99159 commit 5b8425f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/plugins/licenses/examples.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
template: repository
77
repo: metrics
88
plugin_licenses: yes
9-
plugin_licenses_setup: "[[ -f package.json ]] && npm ci || true"
9+
plugin_licenses_setup: "bash -c '[[ -f package.json ]] && npm ci || true'"
1010
test:
1111
timeout: 1800000
1212
modes:
@@ -21,7 +21,7 @@
2121
template: repository
2222
repo: metrics
2323
plugin_licenses: yes
24-
plugin_licenses_setup: "[[ -f package.json ]] && npm ci || true"
24+
plugin_licenses_setup: "bash -c '[[ -f package.json ]] && npm ci || true'"
2525
plugin_licenses_legal: no
2626
plugin_licenses_ratio: yes
2727
test:

source/plugins/licenses/metadata.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ inputs:
3737
> The example command is intended for NodeJs projects that use `npm` to install their dependencies.
3838
type: string
3939
default: ""
40-
example: "[[ -f package.json ]] && npm ci || true"
40+
example: "bash -c '[[ -f package.json ]] && npm ci || true'"
4141

4242
plugin_licenses_ratio:
4343
description: |

0 commit comments

Comments
 (0)