From 4c6f1ab100e767a218bbb014c8a485441c480b24 Mon Sep 17 00:00:00 2001 From: Leo Mendez Date: Thu, 9 Apr 2020 15:28:20 -0500 Subject: [PATCH] Delete default formal arguments --- packages/cli/src/commands/clean/clean.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/cli/src/commands/clean/clean.ts b/packages/cli/src/commands/clean/clean.ts index f1759aeb8b..dcbb8654cd 100644 --- a/packages/cli/src/commands/clean/clean.ts +++ b/packages/cli/src/commands/clean/clean.ts @@ -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); }