Delete default formal arguments

This commit is contained in:
Leo Mendez
2020-04-09 15:28:20 -05:00
parent 81c18f22f7
commit 4c6f1ab100
+3 -6
View File
@@ -19,10 +19,7 @@ import { getDefaultCacheOptions } from 'commands/build-cache/options';
const cacheOptions = getDefaultCacheOptions();
export default async function clean(
outputPath: string = cacheOptions.output,
cachePath: string = cacheOptions.cacheDir,
) {
fs.remove(outputPath);
fs.remove(cachePath);
export default async function clean() {
await fs.remove(cacheOptions.output);
await fs.remove(cacheOptions.cacheDir);
}