[gnome-shell] fileUtils: Fix recursivelyDeleteDir
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] fileUtils: Fix recursivelyDeleteDir
- Date: Thu, 1 Dec 2011 03:04:12 +0000 (UTC)
commit ef49670ae491993cbfcfe666d389485c3a7c8adb
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Nov 30 21:46:52 2011 -0500
fileUtils: Fix recursivelyDeleteDir
js/misc/fileUtils.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/misc/fileUtils.js b/js/misc/fileUtils.js
index cd7339c..7466be8 100644
--- a/js/misc/fileUtils.js
+++ b/js/misc/fileUtils.js
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]