Skip to content

ncu-ci flags will fail silently if no value is passed #393

@mmarchini

Description

@mmarchini
$ ncu-ci --copy url https://ci.nodejs.org/job/node-test-pull-request/29714/

 # Command didn't run, nothing copied to clipboard, process exited with 0
$ ncu-ci --markdown url https://ci.nodejs.org/job/node-test-pull-request/29714/

 # Command didn't run, no error message explainint to the user they should use `--markdown <file>`
$ ncu-ci --markdown foo.md url https://ci.nodejs.org/job/node-test-pull-request/29714/
--------------------------------------------------------------------------------                                                                                                                                                                                                  
[1/1] Running PR: 29714                                                                                                                                                                                                                                                           
--------------------------------------------------------------------------------                                                                                                                                                                                                  
✔  Build data downloaded
✔  Data downloaded
----------------------------------- Summary ------------------------------------
Result     FAILURE
URL        https://ci.nodejs.org/job/node-test-pull-request/29714/
Source     https://github.com/nodejs/node/pull/32116/
Commit     [0f38b8d45bd1] deps: patch V8 to run on Xcode 8
Date       2020-03-10 17:04:14 -0700
Author     Matheus Marchini <mmarchini@netflix.com>
----------------------- ubuntu1804_sharedlibs_debug_x64 ------------------------
...
--------------------------------- Other builds ---------------------------------
Unstable   https://ci.nodejs.org/job/node-test-commit-linux/33387/
Unstable   https://ci.nodejs.org/job/node-test-commit-osx/32540/
Unstable   https://ci.nodejs.org/job/node-test-commit-arm/29944/
Unstable   https://ci.nodejs.org/job/node-test-commit-windows-fanned/34549/
--------------------------------------------------------------------------------
Written markdown to foo.md

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions