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

Commit82f8e3f

Browse files
chore: move subAgentConfig.Directory assignment
1 parent72d9e0a commit82f8e3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎agent/agentcontainers/api.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,6 +1173,8 @@ func (api *API) maybeInjectSubAgentIntoContainerLocked(ctx context.Context, dc c
11731173
returnerr
11741174
}
11751175

1176+
subAgentConfig.Directory=config.Workspace.WorkspaceFolder
1177+
11761178
// NOTE(DanielleMaywood):
11771179
// We only want to take an agent name specified in the root customization layer.
11781180
// This restricts the ability for a feature to specify the agent name. We may revisit
@@ -1213,8 +1215,6 @@ func (api *API) maybeInjectSubAgentIntoContainerLocked(ctx context.Context, dc c
12131215
appsWithPossibleDuplicates=append(appsWithPossibleDuplicates,customization.Apps...)
12141216
}
12151217

1216-
subAgentConfig.Directory=config.Workspace.WorkspaceFolder
1217-
12181218
returnnil
12191219
}();err!=nil {
12201220
api.logger.Error(ctx,"unable to read devcontainer config",slog.Error(err))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp