Skip to content

Commit 1e7195b

Browse files
committed
docs(README): Fix up package managers example
Fix up `ort-scan` variable used to set which package managers to enable in a ORT run. This used to be ORT Analyzer specific command but has since been changed to ORT CLI parameter. Add '-P ort.forceOverwrite=true --stacktrace' to retain the default value as set in [1]. [1]: https://github.com/oss-review-toolkit/ort-ci-gitlab/blob/8ba72c23/templates/ort-scan.yml#L82 Signed-off-by: Thomas Steenbergen <[email protected]>
1 parent f900a75 commit 1e7195b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ ort-scan:
8989
VCS_URL: 'ssh://[email protected]:jshttp/mime-types.git'
9090
VCS_REVISION: 'ef932231c20e716ec27ea159c082322c3c485b66'
9191
ALLOW_DYNAMIC_VERSIONS: 'true'
92-
ORT_CLI_ANALYZE_ARGS: '-P ort.analyzer.enabledPackageManagers=NPM,Yarn,Yarn2'
92+
ORT_CLI_ARGS: '-P ort.analyzer.enabledPackageManagers=NPM,Yarn,Yarn2 -P ort.forceOverwrite=true --stacktrace'
9393
before_script:
9494
# Use HTTPS instead of SSH for Git cloning
9595
- git config --global url.https://github.com/.insteadOf ssh://[email protected]/

0 commit comments

Comments
 (0)