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:
parent
de0fc738c2
commit
f13daff434
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue