mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 21:03:19 +00:00
fix(coding-agent): treat dot-prefixed extension paths as local
This commit is contained in:
parent
ed9255d3bd
commit
88ac5ca1d9
2 changed files with 8 additions and 2 deletions
|
|
@ -980,8 +980,7 @@ export class DefaultPackageManager implements PackageManager {
|
|||
const trimmed = source.trim();
|
||||
const isWindowsAbsolutePath = /^[A-Za-z]:[\\/]|^\\\\/.test(trimmed);
|
||||
const isLocalPathLike =
|
||||
trimmed.startsWith("./") ||
|
||||
trimmed.startsWith("../") ||
|
||||
trimmed.startsWith(".") ||
|
||||
trimmed.startsWith("/") ||
|
||||
trimmed === "~" ||
|
||||
trimmed.startsWith("~/") ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue