Skip to content

Commit 4170809

Browse files
chore: drop / from .git in filepath.Join
1 parent a000330 commit 4170809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/agentcontainers/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ func (api *API) discover() {
426426
}
427427

428428
func (api *API) discoverDevcontainerProjects() error {
429-
isGitProject, err := afero.DirExists(api.fs, filepath.Join(api.agentDirectory, "/.git"))
429+
isGitProject, err := afero.DirExists(api.fs, filepath.Join(api.agentDirectory, ".git"))
430430
if err != nil {
431431
return xerrors.Errorf(".git dir exists: %w", err)
432432
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy