fix c9 list command

This commit is contained in:
nightwing 2015-05-29 08:11:36 +00:00
parent 88070b4ec1
commit f8b88cf4f2

View File

@ -59,7 +59,7 @@ define(function(require, exports, module) {
}
function pad(str, nr){
return str + Array(nr - str.length).join(" ");
return str + Array(Math.max(0, nr - str.length)).join(" ");
}
function list(asJson, callback){