Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4170809

Browse files
chore: drop/ from.git infilepath.Join
1 parenta000330 commit4170809

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
iferr!=nil {
431431
returnxerrors.Errorf(".git dir exists: %w",err)
432432
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp