replaced slice with remove to check travis build

This commit is contained in:
rohitner 2017-08-26 19:16:34 +05:30
parent 6b14f40331
commit a0f2079831

View file

@ -228,7 +228,7 @@ module ColorLS
u = instance.status.untracked.keys # Untracked files
c = instance.status.changed.keys # Changed files
p = path
p.slice! Dir.pwd+'/'
p.remove(Dir.pwd.to_s+'/'.to_s)
if p==path
p=''
else