Stop failing the entire plugin compatibility check if a shared plugin lib fails it
Summary: Currently, if we publish a new shared plugin lib in a separate diff, the compatibility check fails for it while it should exit with a warning only Reviewed By: antonk52 Differential Revision: D39731259 fbshipit-source-id: 7651642ebfb5e18ace047d36b52907bca65c4462
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b43d8f5c80
commit
61a8fe09e9
@@ -109,9 +109,6 @@ async function findAffectedPlugins(errors: string[]) {
|
|||||||
depsByName.set(name, getDependencies(name));
|
depsByName.set(name, getDependencies(name));
|
||||||
}
|
}
|
||||||
for (const pkg of allPackages) {
|
for (const pkg of allPackages) {
|
||||||
if (!isPluginJson(pkg.json)) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
const logFile = path.join(pkg.dir, 'tsc-error.log');
|
const logFile = path.join(pkg.dir, 'tsc-error.log');
|
||||||
await fs.remove(logFile);
|
await fs.remove(logFile);
|
||||||
let logStream: fs.WriteStream | undefined;
|
let logStream: fs.WriteStream | undefined;
|
||||||
|
|||||||
Reference in New Issue
Block a user