/**
 * `npm run ci:clean`
 *
 * Cross-platform script to remove report directory for CI.
 */
const process = require('process');
const script = require('./script');

const reportDirPath = process.env.npm_package_config_report_dir_path;

script.run(`rimraf ${reportDirPath}`);

/**
 * `npm run ci:clean`
 *
 * Cross-platform script to remove report directory for CI.
 */
const process = require('process');
const script = require('./script');

const reportDirPath = process.env.npm_package_config_report_dir_path;

script.run(`rimraf ${reportDirPath}`);

// Remove generated `.nyc_output/` because it may get large over time.
// See https://github.com/istanbuljs/nyc/issues/197
script.run('rimraf .nyc_output/');

Remove .nyc_output to prevent this dir from getting too large.
Remove .nyc_output to prevent this dir from getting too large.
