docs: Add examples with exit code https://github.com/sitespeedio/sitespeed.io/issues/3585
This commit is contained in:
parent
d6d00e9de9
commit
2c372668a7
|
|
@ -31,6 +31,13 @@ The log will look something like this:
|
||||||
[2019-01-20 19:58:18] INFO: Budget: 3 working and 2 failing tests
|
[2019-01-20 19:58:18] INFO: Budget: 3 working and 2 failing tests
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
And if you check the return code after your run and you have failing budgets the exit code will be larger than zero.
|
||||||
|
|
||||||
|
~~~shell
|
||||||
|
echo $?
|
||||||
|
1
|
||||||
|
~~~
|
||||||
|
|
||||||
|
|
||||||
The report looks like this.
|
The report looks like this.
|
||||||

|

|
||||||
|
|
|
||||||
Loading…
Reference in New Issue