Skip to main content

cleanDirectory()

function cleanDirectory(directoryPath): Promise<void>

Cleans the given directory, creating it if it does not exist.

Parameters

ParameterType
directoryPathPathBuilderLike

Returns

Promise<void>

Throws

If the directory intersects with monorepo source code.