fix(js2dart): make tests work again
This commit is contained in:
parent
a75a3d0b31
commit
7e3005e705
|
@ -8,7 +8,7 @@ export class DartTreeWriter extends JavaScriptParseTreeWriter {
|
|||
super();
|
||||
this.libName = moduleName
|
||||
.replace(/\//g, '.')
|
||||
.replace(/[^\w.]/, '_')
|
||||
.replace(/[^\w.]/g, '_')
|
||||
.replace('.lib.', '.')
|
||||
.replace(/\.dart$/, '');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue