Skip to content

Commit b074258

Browse files
committed
Fix check-i18n-links - accept 202 status
Signed-off-by: Francesco Torchia <[email protected]>
1 parent 4fb7f3f commit b074258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/check-i18n-links

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ async function check(links) {
271271
statusMessage = e.response ? e.response.statusText : e.statusText;
272272
}
273273

274-
if (statusCode !== 200) {
274+
if (statusCode !== 200 && statusCode !== 202) {
275275
const sc = `${ statusCode }`.padEnd(5);
276276

277277
console.log(` ${ link } : ${ sc } ${ statusMessage || '' }`); // eslint-disable-line no-console

0 commit comments

Comments
 (0)