Enable no-unsafe-return rule
This commit is contained in:
parent
2f54d9fcfa
commit
1ea11ca775
16 changed files with 30 additions and 26 deletions
|
|
@ -435,7 +435,9 @@ class GitHubFeatureFlags {
|
|||
this.logger.debug(
|
||||
`Loading feature flags from ${this.featureFlagsFile}`,
|
||||
);
|
||||
return JSON.parse(fs.readFileSync(this.featureFlagsFile, "utf8"));
|
||||
return JSON.parse(
|
||||
fs.readFileSync(this.featureFlagsFile, "utf8"),
|
||||
) as GitHubFeatureFlagsApiResponse;
|
||||
}
|
||||
} catch (e) {
|
||||
this.logger.warning(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue