Skip to content

Commit 0422e71

Browse files
committed
chore: Update header comment
1 parent c60762f commit 0422e71

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

cli/configssh.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ const (
3434
sshCoderConfigHeader = "# This file is managed by coder. DO NOT EDIT."
3535
sshCoderConfigDocsHeader = `
3636
#
37-
# You should not hand-edit this file, all changes will be lost upon workspace
38-
# creation, deletion or when running "coder config-ssh".`
37+
# You should not hand-edit this file, all changes will be lost when running
38+
# "coder config-ssh".`
3939
sshCoderConfigOptionsHeader = `
4040
#
4141
# Last config-ssh options:

cli/configssh_test.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@ func TestConfigSSH_FileWriteAndOptionsFlow(t *testing.T) {
301301
coder: strings.Join([]string{
302302
"# This file is managed by coder. DO NOT EDIT.",
303303
"#",
304-
"# You should not hand-edit this file, all changes will be lost upon workspace",
305-
"# creation, deletion or when running \"coder config-ssh\".",
304+
"# You should not hand-edit this file, all changes will be lost when running",
305+
"# \"coder config-ssh\".",
306306
"#",
307307
"# Last config-ssh options:",
308308
"# :ssh-option=ForwardAgent=yes",
@@ -313,8 +313,8 @@ func TestConfigSSH_FileWriteAndOptionsFlow(t *testing.T) {
313313
coder: strings.Join([]string{
314314
"# This file is managed by coder. DO NOT EDIT.",
315315
"#",
316-
"# You should not hand-edit this file, all changes will be lost upon workspace",
317-
"# creation, deletion or when running \"coder config-ssh\".",
316+
"# You should not hand-edit this file, all changes will be lost when running",
317+
"# \"coder config-ssh\".",
318318
"#",
319319
"# Last config-ssh options:",
320320
"#",
@@ -332,8 +332,8 @@ func TestConfigSSH_FileWriteAndOptionsFlow(t *testing.T) {
332332
coder: strings.Join([]string{
333333
"# This file is managed by coder. DO NOT EDIT.",
334334
"#",
335-
"# You should not hand-edit this file, all changes will be lost upon workspace",
336-
"# creation, deletion or when running \"coder config-ssh\".",
335+
"# You should not hand-edit this file, all changes will be lost when running",
336+
"# \"coder config-ssh\".",
337337
"#",
338338
"# Last config-ssh options:",
339339
"# :ssh-option=ForwardAgent=yes",
@@ -344,8 +344,8 @@ func TestConfigSSH_FileWriteAndOptionsFlow(t *testing.T) {
344344
coder: strings.Join([]string{
345345
"# This file is managed by coder. DO NOT EDIT.",
346346
"#",
347-
"# You should not hand-edit this file, all changes will be lost upon workspace",
348-
"# creation, deletion or when running \"coder config-ssh\".",
347+
"# You should not hand-edit this file, all changes will be lost when running",
348+
"# \"coder config-ssh\".",
349349
"#",
350350
"# Last config-ssh options:",
351351
"# :ssh-option=ForwardAgent=yes",

0 commit comments

Comments
 (0)