fileUtils: Fix recursivelyDeleteDir

This commit is contained in:
Jasper St. Pierre 2011-11-30 21:46:52 -05:00 committed by Owen W. Taylor
parent bf2ad9d4e8
commit 3a3e26c1bd

View File

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