mirror of
https://github.com/github/codeql-action.git
synced 2025-12-27 01:30:10 +08:00
11 lines
242 B
CoffeeScript
11 lines
242 B
CoffeeScript
exports.load = (received, defaults, onto={}) ->
|
|
for k, v of defaults
|
|
onto[k] = received[k] ? v
|
|
onto
|
|
|
|
exports.overwrite = (received, defaults, onto={}) ->
|
|
for k, v of received
|
|
if defaults[k] != undefined
|
|
onto[k] = v
|
|
onto
|