webhook/node_modules/enquirer/lib/theme.js
2020-08-26 09:57:08 +10:00

11 lines
328 B
JavaScript

'use strict';
const styles = require('./styles');
const symbols = require('./symbols');
const utils = require('./utils');
module.exports = prompt => {
prompt.options = utils.merge({}, prompt.options.theme, prompt.options);
prompt.symbols = symbols.merge(prompt.options);
prompt.styles = styles.merge(prompt.options);
};