forked from mirrors/probot
build(typescript): make TS happy
This commit is contained in:
parent
85bd6e5d55
commit
776f6a782f
|
@ -37,6 +37,7 @@ export class ManifestCreation {
|
||||||
manifest = yaml.safeLoad(file);
|
manifest = yaml.safeLoad(file);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
// App config does not exist, which is ok.
|
// App config does not exist, which is ok.
|
||||||
|
// @ts-ignore - in theory error can be anything
|
||||||
if (error.code !== "ENOENT") {
|
if (error.code !== "ENOENT") {
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue