Commit 90570c0
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 #40160
1 parent 0b8e3d5 commit 90570c0Copy full SHA for 90570c0
File tree
Expand file treeCollapse file tree
1 file changed
+9
-0
lines changedOpen diff view settings
Filter options
- packages/core/src/util
Expand file treeCollapse file tree
1 file changed
+9
-0
lines changedOpen diff view settings
Collapse file
packages/core/src/util/is_dev_mode.ts
Copy file name to clipboardExpand all lines: packages/core/src/util/is_dev_mode.ts+9Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
6 | 6 | |
7 | 7 | |
8 | 8 | |
| 9 | + |
| 10 | + |
9 | 11 | |
10 | 12 | |
11 | 13 | |
| ||
44 | 46 | |
45 | 47 | |
46 | 48 | |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
47 | 56 | |
48 | 57 | |
0 commit comments