Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async cli(meowCli) {
cli.refuseArguments(meowCli);
const { verbose: flagVerbose } = cli.validateFlags(meowCli, {
verbose: ow.boolean
});
verbose = flagVerbose;
terminal.spacer();
const spinner = terminal.startSpinner(`Diagnosing ${chalk.cyan(env.packageConfig.name)}...`);
//-- Load here to speed up spinner first display
/* eslint-disable global-require */
const pluralize = require('pluralize');
const fss = require('@absolunet/fss');
const paths = require('~/helpers/paths');
const tester = require('~/helpers/doctor/tester');
/* eslint-enable global-require */
const [general, root, bundles, components, workflow, vendors, sync] = await Promise.all([
tester.general(),
tester.root(),
tester.bundles(),
tester.components(),
tester.workflowUpdates(),