Skip to content

Commit

Permalink
Fix config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
PuneetGopinath committed May 22, 2021
1 parent 72c4eb5 commit 8a22cbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ const defaultVals = {
"DATE_FORMAT": "dddd, mmmm dS, yyyy, h:MM:ss TT"
};

const userVals = parseYaml(core.getInput("CONFIG_FILE"));

let conf = {
...defaultVals,
parseYaml(core.getInput("CONFIG_FILE"))
...userVals
};

// Get config inputs
Expand Down

0 comments on commit 8a22cbe

Please sign in to comment.