mulitple symlinks pointing to the same file mistaken as "Infinite symlink expansion"
Author: toxeusCreated Apr 20, 2023Updated Jul 24, 2023
LabelsS-To triage
Environment information
CLI:
Version: 12.0.0
Color support: true
Platform:
CPU Architecture: x86_64
OS: linux
Environment:
ROME_LOG_DIR: unset
NO_COLOR: unset
TERM: "xterm"
JS_RUNTIME_VERSION: "v19.9.0"
JS_RUNTIME_NAME: "node"
NODE_PACKAGE_MANAGER: "yarn/1.22.19"
Rome Configuration:
Status: Loaded successfully
Formatter disabled: false
Linter disabled: false
Organize imports disabled: true
Workspace:
Open Documents: 0What happened?
mkdir -p a/b/{c,d}
touch a/foo.html
ln -s ../../foo.html a/b/c/foo.html
# without the next line everything works fine
ln -s ../../foo.html a/b/d/foo.html
# rome ci fails
yarn run rome ci ./aExpected result
It should not fail.
Code of Conduct
- I agree to follow Rome's Code of Conduct
Source: rome/tools