This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 659
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(rome_fs): Allow to ignore patterns to symbolic links (symlinks) (#…
…4166) * fix(rome_fs): Allow to ignore patterns to symbolic links (symlinks) * refactor: file_name might be None * document the origin_path argument * update test * fix formatting * update test
- Loading branch information
1 parent
7d6c6ee
commit fd0ea23
Showing
4 changed files
with
179 additions
and
9 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
18 changes: 18 additions & 0 deletions
18
crates/rome_cli/tests/snapshots/main_commands_check/fs_files_ignore_symlink.snap
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
source: crates/rome_cli/tests/snap_test.rs | ||
assertion_line: 346 | ||
expression: content | ||
--- | ||
# Emitted Messages | ||
|
||
```block | ||
Skipped 4 suggested fixes. | ||
If you wish to apply the suggested (unsafe) fixes, use the command rome check --apply-unsafe | ||
``` | ||
|
||
```block | ||
Fixed 2 file(s) in <TIME> | ||
``` | ||
|
||
|
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