Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
injitools authored Apr 3, 2018
1 parent d6a32a9 commit 7cefd22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/module/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Auth from './auth'
import './middleware'

// Active chemes
<%= options.uniqueSchemes.map(path =>`import ${'scheme_' + hash(path)} from '${process.platform==="win32"?path.replace(/\\/g,'\\\\'):path}'`).join('\n') %>
<%= options.uniqueSchemes.map(path =>`import ${'scheme_' + hash(path)} from '${path.replace(/\\/g,'/')}'`).join('\n') %>

export default function (ctx, inject) {
// Options
Expand Down

0 comments on commit 7cefd22

Please sign in to comment.