-
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is an automated change generated by Resyntax. #### Pass 1 Applied 1 fix to [`drracket/help/private/bug-report-controls.rkt`](../blob/HEAD/drracket/help/private/bug-report-controls.rkt) * Line 187, `unused-definition`: This definition is not used. Applied 5 fixes to [`drracket-tool-test/tests/check-syntax/syncheck-direct.rkt`](../blob/HEAD/drracket-tool-test/tests/check-syntax/syncheck-direct.rkt) * Line 3, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files. * Line 39, `if-else-false-to-and`: This `if` expression can be refactored to an equivalent expression using `and`. * Line 1112, `make-temporary-directory-migration`: Use `make-temporary-directory` to make directories instead of `make-temporary-file`. * Line 1139, `make-temporary-directory-migration`: Use `make-temporary-directory` to make directories instead of `make-temporary-file`. * Line 1216, `when-expression-in-for-loop-to-when-keyword`: Use the `#:when` keyword instead of `when` to reduce loop body indentation. Applied 8 fixes to [`drracket/macro-debugger/tool.rkt`](../blob/HEAD/drracket/macro-debugger/tool.rkt) * Line 80, `unless-expression-in-for-loop-to-unless-keyword`: Use the `#:unless` keyword instead of `unless` to reduce loop body indentation. * Line 168, `let-to-define`: Internal definitions are recommended instead of `let` expressions, to reduce nesting. * Line 174, `if-begin-to-cond`: Using `cond` instead of `if` here makes `begin` unnecessary * Line 225, `let-to-define`: Internal definitions are recommended instead of `let` expressions, to reduce nesting. * Line 287, `let-to-define`: Internal definitions are recommended instead of `let` expressions, to reduce nesting. * Line 349, `let-to-define`: Internal definitions are recommended instead of `let` expressions, to reduce nesting. * Line 410, `let-to-define`: Internal definitions are recommended instead of `let` expressions, to reduce nesting. * Line 465, `let-to-define`: Internal definitions are recommended instead of `let` expressions, to reduce nesting. #### Pass 2 Applied 1 fix to [`drracket/macro-debugger/tool.rkt`](../blob/HEAD/drracket/macro-debugger/tool.rkt) * Line 465, `let-to-define`: Internal definitions are recommended instead of `let` expressions, to reduce nesting. ## Summary Fixed 15 issues in 3 files. * Fixed 7 occurrences of `let-to-define` * Fixed 2 occurrences of `make-temporary-directory-migration` * Fixed 1 occurrence of `tidy-require` * Fixed 1 occurrence of `if-else-false-to-and` * Fixed 1 occurrence of `when-expression-in-for-loop-to-when-keyword` * Fixed 1 occurrence of `unless-expression-in-for-loop-to-unless-keyword` * Fixed 1 occurrence of `if-begin-to-cond` * Fixed 1 occurrence of `unused-definition` Co-authored-by: resyntax-ci[bot] <181813515+resyntax-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
0375cc8
commit 21060b7
Showing
3 changed files
with
51 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters