don't fail if typescript files contains references

Forwarded: not-needed
Last-Update: 2022-02-10

Gbp-Pq: Name dont-fail-on-typescript-references.patch
This commit is contained in:
Yadd 2022-07-16 13:03:04 +08:00 committed by Lu zhiping
parent de0fc738c2
commit f13daff434
1 changed files with 3 additions and 6 deletions

View File

@ -180,17 +180,14 @@ const readFilePromise = util.promisify(fs.readFile);
}),
),
);
console.log(
chalk.inverse.green(' Successfully validated TypeScript definition files '),
);
} catch (e) {
console.error(
chalk.inverse.red(' Unable to validate TypeScript definition files '),
);
throw e;
}
console.log(
chalk.inverse.green(' Successfully validated TypeScript definition files '),
);
})().catch(error => {
console.error('Got error', error.stack);
process.exitCode = 1;