We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
/
.git
filepath.Join
1 parent a000330 commit 4170809Copy full SHA for 4170809
agent/agentcontainers/api.go
@@ -426,7 +426,7 @@ func (api *API) discover() {
426
}
427
428
func (api *API) discoverDevcontainerProjects() error {
429
- isGitProject, err := afero.DirExists(api.fs, filepath.Join(api.agentDirectory, "/.git"))
+ isGitProject, err := afero.DirExists(api.fs, filepath.Join(api.agentDirectory, ".git"))
430
if err != nil {
431
return xerrors.Errorf(".git dir exists: %w", err)
432
0 commit comments