mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: replace wrong emoji reference (#17810)
Before: <img width="713" alt="Screenshot 2025-05-13 at 19 01 15" src="https://github.com/user-attachments/assets/9e4438a4-28db-4d94-a9ce-cecfb73ce8ab" /> After: <img width="713" alt="Screenshot 2025-05-13 at 19 02 22" src="https://github.com/user-attachments/assets/627ddbb2-45d1-48a1-bd34-a998e11966a2" />
This commit is contained in:
@@ -324,7 +324,7 @@ func ConvertState(ctx context.Context, modules []*tfjson.StateModule, rawGraph s
|
||||
if attrs.StartupScript != "" {
|
||||
agent.Scripts = append(agent.Scripts, &proto.Script{
|
||||
// This is ▶️
|
||||
Icon: "/emojis/25b6.png",
|
||||
Icon: "/emojis/25b6-fe0f.png",
|
||||
LogPath: "coder-startup-script.log",
|
||||
DisplayName: "Startup Script",
|
||||
Script: attrs.StartupScript,
|
||||
|
||||
@@ -561,7 +561,7 @@ func TestConvertResources(t *testing.T) {
|
||||
DisplayName: "Startup Script",
|
||||
RunOnStart: true,
|
||||
LogPath: "coder-startup-script.log",
|
||||
Icon: "/emojis/25b6.png",
|
||||
Icon: "/emojis/25b6-fe0f.png",
|
||||
Script: " #!/bin/bash\n # home folder can be empty, so copying default bash settings\n if [ ! -f ~/.profile ]; then\n cp /etc/skel/.profile $HOME\n fi\n if [ ! -f ~/.bashrc ]; then\n cp /etc/skel/.bashrc $HOME\n fi\n # install and start code-server\n curl -fsSL https://code-server.dev/install.sh | sh | tee code-server-install.log\n code-server --auth none --port 13337 | tee code-server-install.log &\n",
|
||||
}},
|
||||
}},
|
||||
|
||||
@@ -8,7 +8,7 @@ export const MockSources = [
|
||||
id: "d9475581-8a42-4bce-b4d0-e4d2791d5c98",
|
||||
created_at: "2024-03-14T11:31:03.443877Z",
|
||||
display_name: "Startup Script",
|
||||
icon: "/emojis/25b6.png",
|
||||
icon: "/emojis/25b6-fe0f.png",
|
||||
},
|
||||
{
|
||||
workspace_agent_id: "722654da-cd27-4edf-a525-54979c864344",
|
||||
|
||||
Reference in New Issue
Block a user