Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const website = async () => {
const ast = await build(
files,
Object.assign(options, {
config: tocPath
})
);
const source = await formats.html(ast, {
name: apr.name
});
const _files = streamArray(source);
const _dest = vfs.dest(path.join(__dirname, '../docs'));
await onFinish(_files, _dest);
};