mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
7 lines
266 B
JavaScript
7 lines
266 B
JavaScript
var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');
|
|
|
|
module.exports = function (target, key, value, options) {
|
|
if (options && options.enumerable) target[key] = value;
|
|
else createNonEnumerableProperty(target, key, value);
|
|
};
|