fix after review from @henrymercer
This commit is contained in:
parent
fc374f5e9a
commit
f398a65921
7 changed files with 39 additions and 37 deletions
|
|
@ -1708,6 +1708,11 @@ export async function initConfig(
|
|||
|
||||
// if configInput is set, it takes precedence over configFile
|
||||
if (configInput) {
|
||||
if (configFile) {
|
||||
logger.warning(
|
||||
`Both a config file and config input were provided. Ignoring config file.`
|
||||
);
|
||||
}
|
||||
configFile = path.resolve(workspacePath, "user-config-from-action.yml");
|
||||
fs.writeFileSync(configFile, configInput);
|
||||
logger.debug(`Using config from action input: ${configFile}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue