Skip to content
This repository was archived by the owner on Oct 6, 2019. It is now read-only.

Commit dc5e534

Browse files
author
Thomas Hansen
committed
Bug in build script
1 parent 0b4740d commit dc5e534

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

build.cake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ DeleteFile ("./phosphorusfive-8-1/core/p5.webapp/auth.hl");
4242
* Deleting "/db/" folder.
4343
*/
4444
var directoriesToDelete = new DirectoryPath [] { Directory("./phosphorusfive-8-1/core/p5.webapp/db/")};
45-
DeleteDirectories (directoriesToDelete, new DeleteDirectorySettings {Recursive = true, Force = true});
45+
if (DirectoryExists (directoriesToDelete [0])) {
46+
DeleteDirectories (directoriesToDelete, new DeleteDirectorySettings {Recursive = true, Force = true});
47+
}
4648

4749
/*
4850
* Deleting "common" folder.

0 commit comments

Comments
 (0)