Commit 5c84953
path: remove unnecessary if statement
There is an `if`-statement in `normalizeString` (a helper function for
`path.normalize`) whose `else`-branch is never taken. This patch
removes it.
PR-URL: #22273
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent db79276 commit 5c84953Copy full SHA for 5c84953
File tree
Expand file treeCollapse file tree
1 file changed
+9
-11
lines changedOpen diff view settings
Filter options
- lib
Expand file treeCollapse file tree
1 file changed
+9
-11
lines changedOpen diff view settings
Collapse file
+9-11Lines changed: 9 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
77 | 77 | |
78 | 78 | |
79 | 79 | |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
87 | | - |
88 | | - |
89 | | - |
90 | | - |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
91 | 86 | |
| 87 | + |
| 88 | + |
| 89 | + |
92 | 90 | |
93 | 91 | |
94 | 92 | |
|
0 commit comments