fix(core): set `ngDevMode` to `false` when calling `enableProdMode()`… · angular/angular@922f492 · GitHub
Skip to content

Commit 922f492

Browse files
alan-agius4alxhub
authored andcommitted
fix(core): set ngDevMode to false when calling enableProdMode() (#40124)
The `ngDevMode` description also mentions that calling `enableProdMode` will set this the value to `false`. https://github.com/angular/angular/blob/4610093c87975b6355f31a9c849351129908783a/packages/core/src/util/ng_dev_mode.ts#L22 which is currently not the case. PR Close #40124
1 parent 0aa220b commit 922f492

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

packages/core/src/util/is_dev_mode.ts

Lines changed: 9 additions & 0 deletions

0 commit comments

Comments
 (0)