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

flub check policy bug is excluding all files #11804

Merged
merged 2 commits into from Sep 2, 2022

Conversation

RishhiB
Copy link
Contributor

@RishhiB RishhiB commented Sep 2, 2022

Description

flub check policy seems to be excluding all files

@RishhiB RishhiB self-assigned this Sep 2, 2022
@RishhiB RishhiB changed the title exclusions fix for policy by negating exclusions check flub check policy seems to be excluding all files Sep 2, 2022
@RishhiB RishhiB changed the title flub check policy seems to be excluding all files flub check policy bug is excluding all files Sep 2, 2022
@github-actions github-actions bot added the base: main PRs targeted against main branch label Sep 2, 2022
@RishhiB RishhiB marked this pull request as ready for review September 2, 2022 19:56
Copy link
Member

@tylerbutler tylerbutler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this.log(`Excluded: ${line}`);
return;
}

try {
this.routeToHandlers(filePath, handlerRegex);
runPolicyCheck(this.processedFlags.fix);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just double checking you want to delete this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it’s redundant. Every handleLine call is wrapped around a try finally block that calls runPolicyCheck

@RishhiB RishhiB merged commit 4089bae into microsoft:main Sep 2, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Sep 2, 2022

This commit is queued for merging with the next branch! Please ignore this PR for now. Contact @microsoft/fluid-cr-infra for help.

@RishhiB RishhiB deleted the fixPolicyCheck branch February 2, 2024 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants