Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.then( () => tools.clean( path.join( bundleDir, packageName, '..' ), packageName ) );
} ) );
maybeCleanDir( dir ) {
return ( dir ) ?
tools.clean( dir, path.join( '' ) ) :
Promise.resolve();
},
cleanFiles( destinationPath, fileName ) {
return tools.clean( destinationPath, `${fileName}.*` );
},