fileUtils: Fix recursivelyDeleteDir

This commit is contained in:
Jasper St. Pierre 2011-11-30 21:46:52 -05:00
parent e4df00c77d
commit ef49670ae4

View File

@ -38,7 +38,7 @@ function recursivelyDeleteDir(dir) {
let child = dir.get_child(info.get_name()); let child = dir.get_child(info.get_name());
if (type == Gio.FileType.REGULAR) if (type == Gio.FileType.REGULAR)
deleteGFile(child); deleteGFile(child);
else if (type == Gio.TypeType.DIRECTORY) else if (type == Gio.FileType.DIRECTORY)
recursivelyDeleteDir(child); recursivelyDeleteDir(child);
} }