fix: use different slash to split when using different OS (utils/utils)
This commit is contained in:
parent
a385819393
commit
cee419609f
@ -95,7 +95,7 @@ module.exports = {
|
||||
slash_type = "\\";
|
||||
}
|
||||
// pop the last one directory
|
||||
while (dir.pop() != "\\") {
|
||||
while (dir.pop() != slash_type) {
|
||||
// pass
|
||||
}
|
||||
// restructure the full path
|
||||
|
||||
Loading…
Reference in New Issue
Block a user