mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
fix(js2dart): make tests work again
This commit is contained in:
parent
a75a3d0b31
commit
7e3005e705
2 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue