mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-01-11 03:25:45 +00:00
minor: fix indexOf call.
This commit is contained in:
parent
4ad7d90c9d
commit
abd89d3aee
@ -1262,7 +1262,7 @@ Tput.prototype.parseTermcap = function(data, file) {
|
||||
name: names[0],
|
||||
names: names,
|
||||
desc: names.pop(),
|
||||
file: ~file[0].indexOf(path.sep)
|
||||
file: ~file.indexOf(path.sep)
|
||||
? path.resolve(file)
|
||||
: file,
|
||||
termcap: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user