Merge pull request #485 from mikepenz/feature/additional_log
Expand logging in regards to configuration loading
This commit is contained in:
@@ -53,7 +53,13 @@ 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