mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-08-25 08:08:00 +00:00
1ada95e04a
- Convert project to Javascript/Typescript - Allow custom headers to be passed in (optional) - Allow body to be optional
12 lines
328 B
JavaScript
12 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);
|
|
};
|