Commit 5a840cc3 authored by Kyle Kelley's avatar Kyle Kelley Committed by Arunoda Susiripala

allow cleaning from non-cwd (#2451)

parent ec2b76f8
...@@ -4,5 +4,5 @@ import getConfig from '../config' ...@@ -4,5 +4,5 @@ import getConfig from '../config'
export default function clean (dir) { export default function clean (dir) {
const dist = getConfig(dir).distDir const dist = getConfig(dir).distDir
return del(resolve(dir, dist)) return del(resolve(dir, dist), { force: true })
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment