mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-14 07:51:11 +00:00
20 lines
278 B
JavaScript
20 lines
278 B
JavaScript
import EventTarget from './events';
|
|
|
|
const config = {
|
|
instrument: false
|
|
};
|
|
|
|
EventTarget['mixin'](config);
|
|
|
|
function configure(name, value) {
|
|
if (arguments.length === 2) {
|
|
config[name] = value;
|
|
} else {
|
|
return config[name];
|
|
}
|
|
}
|
|
|
|
export {
|
|
config,
|
|
configure
|
|
};
|