This commit is contained in:
overflowerror 2013-08-03 16:27:28 +02:00
parent d75ba36743
commit 17625bd293

View file

@ -14,7 +14,6 @@ LsClass.prototype.main = function(args) {
if (files.error) { if (files.error) {
stdout.write("ls: cannot access " + folder + ": " + files.error + "\n"); stdout.write("ls: cannot access " + folder + ": " + files.error + "\n");
this.exit(2); this.exit(2);
return; // ugly, change this
} }
for (var i = 0; i < files.length; i++) { for (var i = 0; i < files.length; i++) {
if (files[i].substring(0, 1) != ".") if (files[i].substring(0, 1) != ".")