Skip to content

Fix a potential NPE#1331

Merged
vladmos merged 2 commits intobazelbuild:mainfrom
vladmos:fix_npe
Feb 4, 2025
Merged

Fix a potential NPE#1331
vladmos merged 2 commits intobazelbuild:mainfrom
vladmos:fix_npe

Conversation

@vladmos
Copy link
Member

@vladmos vladmos commented Feb 4, 2025

fileReader may be not present if buildifier is called as a library and no file reader is initiated.

@vladmos vladmos requested a review from pmbethe09 as a code owner February 4, 2025 15:49
@vladmos vladmos requested a review from oreflow February 4, 2025 15:49
@vladmos vladmos merged commit ad48c76 into bazelbuild:main Feb 4, 2025
2 checks passed
@vladmos vladmos deleted the fix_npe branch February 4, 2025 16:07
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.

2 participants