-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Allow to setup the test mode folder with dry-run disabled #279
Conversation
WalkthroughThe codebase has been updated to streamline the handling of dry run settings. The feature toggle for a dry run, previously controlled by an enable flag, has been deprecated. Now, the focus shifts to the presence of a folder name to determine dry run behavior, simplifying the configuration process and the code's decision-making logic. Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files ignored due to path filters (2)
src/i18n/locales/en.json
is excluded by:!**/*.json
src/i18n/locales/fr.json
is excluded by:!**/*.json
Files selected for processing (2)
- src/settings.ts (1 hunks)
- src/utils/data_validation_test.ts (1 hunks)
Additional comments: 2
src/utils/data_validation_test.ts (1)
- 435-435: The logic for determining if a file is in the dry-run folder has been changed to check if the
folderName
is empty instead of checking theenable
property. This change aligns with the PR's objective to decouple the dry-run folder setup from the dry-run mode's enablement.src/settings.ts (1)
- 309-322: The conditional logic for creating a
Setting
forgithubSettings.dryRun.folderName
has been removed, which means the setting will now always be created regardless of the dry-run mode's enablement status. This change is consistent with the PR's objective to allow for the setup of a test mode folder even when the dry-run option is disabled.
Summary by CodeRabbit