src/fs.js
function deleteFiles(files) {
	_.castArray(files).forEach(file => {
		if (!fs.existsSync(file)) {
			return;
		}

		log.removed(`Delete ${file}`);
		fs.removeSync(file);
	});
}
function deleteFiles(files) {
	_.castArray(files).forEach(file => {
		if (!fs.existsSync(file)) {
			return;
		}

		log.removed(`Delete ${file}`);
		fs.removeSync(file);
	});
}
function deleteFiles ( files ) { _ . castArray ( files ) . forEach ( file => { if ( ! fs . existsSync ( file ) ) { return ; } log . removed ( ` ${ file } ` ) ; fs . removeSync ( file ) ; } ) ; }
Delete files or folders
Delete files or folders