diff --git a/.travis.yml b/.travis.yml index 6bb3e62..4371bd1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,7 @@ cache: env: global: - - secure: UL0jM3lnDmqFbdFC7S8YC+yzN2VIEljYqtcebNWNR1HVSO0ssXdsfKfryuLV0bi3kkUDXXkqNu/pkWMUqfpj4luZWg5QtPmLy6FniI1vWUejukE1ms+LjoeunnV8N4oS+2vOJ0hLKdblENLO8HxPApScGLFGfSdpEKOsERQjfkPnkBPCR3qzxpQesLklJSGB+CFntD7dc/JWVUMNVamRK8JPcZF1IVXZtsNSWcih5svrfo/mtfGK6e28rFx15dUJJRFr0BUBGPL9sTs1kb14SMJG+FsaepIBLLsfbKn9/9oWGiP0QqGQ6zHOWHyu2G6ORl/pdDgAkHYNi4FfcIBOLEcwO6Lgl1MOpBFqX2riVJBfdfo/ivt/ghcfHsl6NcJ+yjjXRHyGWu9GkokcM/PAEGr2orVf9zUEBrFuHueoVxoipjWR/3yZNjkAwAwgosZSkVcZLoXvWFY+l/DDYI5C0gVsHNqBDsadIRI/18byO+tQPJfqB+0h+cNcoV5kuUe63i+cGGjlpDD+bMR2MR7a5DncW0OTj8UBlIE1saNw2AG9us53UyTsImdx4rg9NNvjf6mkl1fqCwUVxyWmE8B9oAX/CkcKVFiynQZz3yBTXO7UJdNRKsfNsNnZuTZDYP5hKvaMsTBNdtXKOhjxJA9qQAnFN7n1zAdEQ+0R5Q4P4u8= + - secure: otWTFYQmkY4b9N/DttsEgHDbLMBwjhFGzy8cnP0aFyU3Xe+46x910ydoyPtknfnr6Kl+gHNYBJhgQCYhRvUDtaLXJb0oV2HxbCY/yK68ijYizF3H+9wBJNX6NhB92wD0CozUlPFYbiSPIgSRJOCxVRowZ7fPDtnmSYsrBvqJCSZAlV5AFg2ymTOpl/Vf4ZnQJc7FKX60kNRi7eO+QisKHQoSK8YXv3jzqYzqSt/Ndytzrti2pL4AHsrDhEsKOG8OSl2cfrgLeaqdxgMmVYHwLlvl8c9yR4RiYr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bpvh/cjX703oAo+2pyIB+gMT/i7OQD/ptiaoRZF+1QcTxIF+Cbdzj8mGCL8gKP7JDHq+xZ7QddepNbBqRuPQFbIDffpF2HKF7U7j5OPyUzse1Zl0cVqmiVvBsgFuRyndVHL/N2TCp8ZXStrK2axSFGU5yzuF+rgKA438DrIvNXMY+FwN0b+FWAgIyOohjOeM5rQqlD0G4GEXGZURQDR4W3wDz/GbtckpbDXV+8WN53gOc48jtGkZ42z9wvv6497NvUgjbdP0PjpmZHFduyVMWhAFs/WVDEljXVm+dTbK3eto1K20= diff --git a/package.json b/package.json index 74544df..3c6a67c 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "license": "(MIT OR Apache-2.0)", "scripts": { "reset": "yarn clean node_modules/ && yarn install", - "clean": "rm -rf coverage/", + "clean": "cargo clean && rm -rf coverage/", "lint": "eslint '**/*.js'", "test": "jest" }, diff --git a/src/helpers.js b/src/helpers.js index 1dc711b..784d9d7 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -60,7 +60,7 @@ function rel(from, to) { relativePath = `./${relativePath}`; } - return relativePath.replace('\\', '/'); + return relativePath.replace(/\\/g, '/'); } function* matches(regex, str) {