Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add typings for js-yaml #1097

Merged
merged 1 commit into from Jun 15, 2022
Merged

Add typings for js-yaml #1097

merged 1 commit into from Jun 15, 2022

Conversation

aeisenberg
Copy link
Contributor

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

@aeisenberg aeisenberg requested a review from a team as a code owner June 14, 2022 04:09
@@ -1448,7 +1448,7 @@
throw new Error(getConfigFileDoesNotExistErrorMessage(configFile));
}

return yaml.load(fs.readFileSync(configFile, "utf8"));
return yaml.load(fs.readFileSync(configFile, "utf8")) as UserConfig;

Check failure

Code scanning / CodeQL

Potential file system race condition

The file may have changed since it [was checked](1).
@aeisenberg aeisenberg merged commit 81b419c into main Jun 15, 2022
@aeisenberg aeisenberg deleted the aeisenberg/js-yaml-typings branch June 15, 2022 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants