Commit 9f23cb2
tools: fix exit code when linting from CI
Before this, if there were lint errors reported by `make jslint-ci`,
the process would still exit with an exit code of zero.
This commit fixes that to align with `make jslint` (exit with
non-zero on lint errors).
PR-URL: #6412
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Phillip Johnsen <johphi@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent fc0fbf1 commit 9f23cb2Copy full SHA for 9f23cb2
File tree
Expand file treeCollapse file tree
1 file changed
+15
-5
lines changedOpen diff view settings
Filter options
- tools
Expand file treeCollapse file tree
1 file changed
+15
-5
lines changedOpen diff view settings
Collapse file
+15-5Lines changed: 15 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
125 | 125 | |
126 | 126 | |
127 | 127 | |
128 | | - |
| 128 | + |
129 | 129 | |
130 | 130 | |
131 | 131 | |
132 | 132 | |
133 | 133 | |
134 | | - |
| 134 | + |
| 135 | + |
135 | 136 | |
136 | 137 | |
137 | 138 | |
138 | | - |
| 139 | + |
139 | 140 | |
140 | 141 | |
141 | 142 | |
142 | 143 | |
143 | | - |
| 144 | + |
| 145 | + |
| 146 | + |
| 147 | + |
144 | 148 | |
| 149 | + |
145 | 150 | |
146 | 151 | |
147 | 152 | |
| ||
151 | 156 | |
152 | 157 | |
153 | 158 | |
| 159 | + |
| 160 | + |
| 161 | + |
| 162 | + |
| 163 | + |
154 | 164 | |
155 | 165 | |
156 | 166 | |
| ||
245 | 255 | |
246 | 256 | |
247 | 257 | |
248 | | - |
| 258 | + |
249 | 259 | |
250 | 260 | |
251 | 261 | |
|
0 commit comments