Permalink
Browse files

fix(scheme-resolution): fix problem with backslashes in path to schem…

…es on windows

fix problem with backslashes in path to schemes on windows
  • Loading branch information...
breakingrobot committed Apr 3, 2018
2 parents 3908563 + 7cefd22 commit 77161b8a874755474a3c93c09a7f1cbb7cdcaa6f
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/module/plugin.js
@@ -3,7 +3,7 @@ import Auth from './auth'
import './middleware'
// Active chemes
<%= options.uniqueSchemes.map(path =>`import ${'scheme_' + hash(path)} from '${path}'`).join('\n') %>
<%= options.uniqueSchemes.map(path =>`import ${'scheme_' + hash(path)} from '${path.replace(/\\/g,'/')}'`).join('\n') %>
export default function (ctx, inject) {
// Options

0 comments on commit 77161b8

Please sign in to comment.