Fail when expected config does not exist
This commit is contained in:
parent
a9f7529f47
commit
7567eab606
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ const actualConfig = loadActualConfig()
|
|||
|
||||
const rawExpectedConfig = process.argv[3].trim()
|
||||
if (!rawExpectedConfig) {
|
||||
core.info('No expected configuration provided')
|
||||
core.setFailed('No expected configuration provided')
|
||||
} else {
|
||||
core.startGroup('Expected generated user config')
|
||||
core.info(yaml.dump(JSON.parse(rawExpectedConfig)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue