mirror of
https://github.com/athityakumar/colorls.git
synced 2024-09-19 05:31:23 +02:00
replaced slice with remove to check travis build
This commit is contained in:
parent
6b14f40331
commit
a0f2079831
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue