use posix path module in relativize helper
authorDan Allen <dan@opendevise.com>
Thu, 25 Jan 2018 21:09:57 +0000 (14:09 -0700)
committerDan Allen <dan@opendevise.com>
Thu, 25 Jan 2018 21:09:57 +0000 (14:09 -0700)
src/helpers/relativize.js

index 075b31b..abab118 100644 (file)
@@ -1,6 +1,6 @@
 'use strict'
 
-const path = require('path')
+const { posix: path } = require('path')
 
 // TODO memoize
 module.exports = (from, to) => {