From 3a3e26c1bd07b70ed162dfa732552f463b4bf6ea Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 30 Nov 2011 21:46:52 -0500 Subject: [PATCH] fileUtils: Fix recursivelyDeleteDir --- js/misc/fileUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/misc/fileUtils.js b/js/misc/fileUtils.js index cd7339c2c..7466be87a 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); }