Skip to content

Comments

refactor(ast_tools): remove repeated code in Output methods#6953

Merged
graphite-app[bot] merged 1 commit intomainfrom
10-27-refactor_ast_tools_remove_repeated_code_in_output_methods
Oct 28, 2024
Merged

refactor(ast_tools): remove repeated code in Output methods#6953
graphite-app[bot] merged 1 commit intomainfrom
10-27-refactor_ast_tools_remove_repeated_code_in_output_methods

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Oct 27, 2024

generator_path.replace('\\', "/") was repeated in each module for that generates outputs. Move it, to reduce repetition.

@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 27, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “0-merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

Copy link
Member Author

overlookmotel commented Oct 27, 2024

@overlookmotel overlookmotel marked this pull request as ready for review October 27, 2024 14:23
@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Oct 27, 2024
@overlookmotel overlookmotel force-pushed the 10-27-refactor_ast_tools_move_logger_into_separate_module branch from 7427d65 to ce6cc38 Compare October 27, 2024 14:33
@overlookmotel overlookmotel force-pushed the 10-27-refactor_ast_tools_remove_repeated_code_in_output_methods branch from daa6e0a to 643e288 Compare October 27, 2024 14:33
Copy link
Member Author

overlookmotel commented Oct 27, 2024

Merge activity

@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Oct 27, 2024
@overlookmotel overlookmotel force-pushed the 10-27-refactor_ast_tools_move_logger_into_separate_module branch from ce6cc38 to 7535e9c Compare October 27, 2024 15:23
@overlookmotel overlookmotel force-pushed the 10-27-refactor_ast_tools_remove_repeated_code_in_output_methods branch from 643e288 to efbdfa4 Compare October 27, 2024 15:23
@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Oct 27, 2024
@overlookmotel overlookmotel force-pushed the 10-27-refactor_ast_tools_move_logger_into_separate_module branch from 7535e9c to 8128308 Compare October 27, 2024 15:30
@overlookmotel overlookmotel force-pushed the 10-27-refactor_ast_tools_remove_repeated_code_in_output_methods branch from efbdfa4 to 030e90d Compare October 27, 2024 15:30
@overlookmotel overlookmotel force-pushed the 10-27-refactor_ast_tools_move_logger_into_separate_module branch from 8128308 to 7a5c0aa Compare October 27, 2024 19:01
@overlookmotel overlookmotel force-pushed the 10-27-refactor_ast_tools_remove_repeated_code_in_output_methods branch from 030e90d to 2e4e127 Compare October 27, 2024 19:01
@overlookmotel overlookmotel force-pushed the 10-27-refactor_ast_tools_move_logger_into_separate_module branch from 7a5c0aa to c78fab2 Compare October 27, 2024 19:11
@overlookmotel overlookmotel force-pushed the 10-27-refactor_ast_tools_remove_repeated_code_in_output_methods branch from 2e4e127 to d20f85e Compare October 27, 2024 19:11
@overlookmotel overlookmotel force-pushed the 10-27-refactor_ast_tools_move_logger_into_separate_module branch from c78fab2 to 4add688 Compare October 27, 2024 19:30
@overlookmotel overlookmotel force-pushed the 10-27-refactor_ast_tools_remove_repeated_code_in_output_methods branch from d20f85e to 11247b4 Compare October 27, 2024 19:30
@overlookmotel overlookmotel force-pushed the 10-27-refactor_ast_tools_move_logger_into_separate_module branch from 4add688 to cf458c2 Compare October 27, 2024 23:48
@overlookmotel overlookmotel force-pushed the 10-27-refactor_ast_tools_remove_repeated_code_in_output_methods branch from 11247b4 to 075f9bc Compare October 27, 2024 23:48
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Oct 28, 2024
@overlookmotel overlookmotel force-pushed the 10-27-refactor_ast_tools_move_logger_into_separate_module branch from cf458c2 to ab308f5 Compare October 28, 2024 00:08
@overlookmotel overlookmotel force-pushed the 10-27-refactor_ast_tools_remove_repeated_code_in_output_methods branch from 075f9bc to 1495fe0 Compare October 28, 2024 00:08
@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Oct 28, 2024
`generator_path.replace('\\', "/")` was repeated in each module for that generates outputs. Move it, to reduce repetition.
@overlookmotel overlookmotel force-pushed the 10-27-refactor_ast_tools_move_logger_into_separate_module branch from ab308f5 to 2b10e5c Compare October 28, 2024 00:23
@overlookmotel overlookmotel force-pushed the 10-27-refactor_ast_tools_remove_repeated_code_in_output_methods branch from 1495fe0 to ac6b309 Compare October 28, 2024 00:24
Base automatically changed from 10-27-refactor_ast_tools_move_logger_into_separate_module to main October 28, 2024 00:28
@graphite-app graphite-app bot merged commit ac6b309 into main Oct 28, 2024
@graphite-app graphite-app bot deleted the 10-27-refactor_ast_tools_remove_repeated_code_in_output_methods branch October 28, 2024 00:31
Orenbek pushed a commit to Orenbek/oxc that referenced this pull request Oct 28, 2024
…oject#6953)

`generator_path.replace('\\', "/")` was repeated in each module for that generates outputs. Move it, to reduce repetition.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0-merge Merge with Graphite Merge Queue A-ast-tools Area - AST tools C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant