feature(format) rm duplicate

This commit is contained in:
coderaiser 2014-09-04 06:38:14 -04:00
parent 5e1818b99f
commit ffd6ab647f
4 changed files with 4 additions and 168 deletions

View file

@ -56,6 +56,7 @@
this.permissions = {
symbolic: function(perms) {
var type, owner, group, all,
is = typeof perms !== undefined,
permsStr = '',
permissions = '';
/*
@ -70,7 +71,7 @@
S_IXOTH 0000001 executable by all
*/
if (perms) {
if (is) {
permsStr = perms.toString();
/* тип файла */
type = permsStr.charAt(0);