File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -136,8 +136,6 @@ func (r *RootCmd) openVSCode() *serpent.Command {
136
136
if ! ok {
137
137
return xerrors .New ("container missing volume for `devcontainer.local_folder`" )
138
138
}
139
-
140
- directory = filepath .FromSlash (directory )
141
139
}
142
140
143
141
break
Original file line number Diff line number Diff line change @@ -293,6 +293,10 @@ func TestOpenVSCode_NoAgentDirectory(t *testing.T) {
293
293
func TestOpenVSCodeDevContainer (t * testing.T ) {
294
294
t .Parallel ()
295
295
296
+ if runtime .GOOS != "linux" {
297
+ t .Skip ("DevContainers are only supported for agents on Linux" )
298
+ }
299
+
296
300
agentName := "agent1"
297
301
agentDir , err := filepath .Abs (filepath .FromSlash ("/tmp" ))
298
302
require .NoError (t , err )
@@ -465,6 +469,10 @@ func TestOpenVSCodeDevContainer(t *testing.T) {
465
469
func TestOpenVSCodeDevContainer_NoAgentDirectory (t * testing.T ) {
466
470
t .Parallel ()
467
471
472
+ if runtime .GOOS != "linux" {
473
+ t .Skip ("DevContainers are only supported for agents on Linux" )
474
+ }
475
+
468
476
agentName := "agent1"
469
477
470
478
containerName := testutil .GetRandomName (t )
You can’t perform that action at this time.
0 commit comments