mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 13:57:09 +01:00
add logging
This commit is contained in:
parent
2188a753e4
commit
2de0ef6ad0
1 changed files with 2 additions and 1 deletions
|
|
@ -255,6 +255,7 @@ class TestReporter {
|
|||
}
|
||||
|
||||
getParser(reporter: string, options: ParseOptions): TestParser {
|
||||
core.info(`Selecting parser for reporter '${reporter}'`)
|
||||
switch (reporter) {
|
||||
case 'dart-json':
|
||||
return new DartJsonParser(options, 'dart')
|
||||
|
|
@ -281,7 +282,7 @@ class TestReporter {
|
|||
case 'swift-xunit':
|
||||
return new SwiftXunitParser(options)
|
||||
default:
|
||||
throw new Error(`Input variable 'reporter' is set to invalid value '${reporter}'`)
|
||||
throw new Error(`Input variable 'reporter' is set to invalid value '${reporter}' including this change?`)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue