mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-09 15:02:30 +02:00
fix: resolve orchestration lint errors
This commit is contained in:
parent
4d4ba25d11
commit
ad4ef58a8e
1 changed files with 2 additions and 2 deletions
|
|
@ -329,12 +329,12 @@ function canonicalizePath(targetPath) {
|
|||
|
||||
try {
|
||||
return fs.realpathSync.native(resolvedPath);
|
||||
} catch (error) {
|
||||
} catch (_error) {
|
||||
const parentPath = path.dirname(resolvedPath);
|
||||
|
||||
try {
|
||||
return path.join(fs.realpathSync.native(parentPath), path.basename(resolvedPath));
|
||||
} catch (parentError) {
|
||||
} catch (_parentError) {
|
||||
return resolvedPath;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue