- introduce additional logging to better identify if configuration was configured and properly loaded.
- print configuration as json in debug
This commit is contained in:
@@ -53,8 +53,14 @@ export function resolveConfiguration(
|
|||||||
const providedConfiguration = readConfiguration(configurationPath)
|
const providedConfiguration = readConfiguration(configurationPath)
|
||||||
if (providedConfiguration) {
|
if (providedConfiguration) {
|
||||||
configuration = providedConfiguration
|
configuration = providedConfiguration
|
||||||
|
core.info(`ℹ️ Configuration successfully loaded.`)
|
||||||
|
if (core.isDebug()) {
|
||||||
|
core.debug(`configuration = ${JSON.stringify(configuration)}`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
core.info(`ℹ️ Configuration not provided. Using Defaults.`)
|
||||||
|
}
|
||||||
return configuration
|
return configuration
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user