Fix tests for windows

master
Paul Loyd 2017-12-02 12:21:29 +03:00
parent 3a4beacdd0
commit 72277118d5
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ export default class Collector {
// TODO: customize it.
// XXX: replace with normal resolver and path-to-id converter.
const id = pathToId(path.replace(/\/source\.js$/, ''));
const id = pathToId(path.replace(/source\.js$/, ''));
module = new Module(id, path);
const scope = this._global.extend(module);