Fix a grinder issue.

This commit is contained in:
Natalie Weizenbaum 2016-10-31 13:25:05 -07:00
parent b318ec2d4c
commit d99b999c4e

View File

@ -74,7 +74,7 @@ js() {
@Depends(js) @Depends(js)
npm_package() { npm_package() {
var dir = new Directory('build/npm'); var dir = new Directory('build/npm');
dir.deleteSync(recursive: true); if (dir.existsSync()) dir.deleteSync(recursive: true);
dir.createSync(recursive: true); dir.createSync(recursive: true);
log("copying package/package.json to build/npm"); log("copying package/package.json to build/npm");