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

fix: handle agent parameter in URIs#538

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ethanndickson merged 3 commits intomainfromethan/handle-agent-in-URI
Jun 25, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions.git-blame-ignore-revs
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
# If you would like `git blame` to ignore commits from this file, run:
# git config blame.ignoreRevsFile .git-blame-ignore-revs

# chore: simplify prettier config (#528)
f785902f3ad20d54344cc1107285c2a66299c7f6
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

What's the purpose of this?

Copy link
MemberAuthor

@ethanndicksonethanndicksonJun 24, 2025
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

We have the same file oncoder/coder - it's just a convenient way to remove a formatting commit fromgit blame results. I noticed every line was blamed on#528. No longer the case after runninggit config blame.ignoreRevsFile .git-blame-ignore-revs

mafredri reacted with thumbs up emoji
6 changes: 3 additions & 3 deletionssrc/commands.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -600,7 +600,7 @@ export class Commands {
} else {
workspaceOwner = args[0] as string;
workspaceName = args[1] as string;
//workspaceAgentis reserved forargs[2], but multiple agents aren't supported yet.
workspaceAgent=args[2] as string | undefined;
folderPath = args[3] as string | undefined;
openRecent = args[4] as boolean | undefined;
}
Expand DownExpand Up@@ -628,7 +628,7 @@ export class Commands {

const workspaceOwner = args[0] as string;
const workspaceName = args[1] as string;
const workspaceAgent =undefined; //args[2]is reserved, but we do not support multiple agents yet.
const workspaceAgent = args[2]as string;
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

openDevcontainer URIs must include the agent name to work properly, I believe, so this isstring and notstring | undefined.

mafredri reacted with thumbs up emoji
const devContainerName = args[3] as string;
const devContainerFolder = args[4] as string;

Expand DownExpand Up@@ -748,7 +748,7 @@ async function openDevContainer(
baseUrl: string,
workspaceOwner: string,
workspaceName: string,
workspaceAgent: string | undefined,
workspaceAgent: string,
devContainerName: string,
devContainerFolder: string,
) {
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp