File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
components/content-service/pkg/initializer Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -77,18 +77,18 @@ func (ws *GitInitializer) Run(ctx context.Context, mappings []archive.IDMapping)
77
77
}
78
78
79
79
// make sure that folder itself is owned by gitpod user prior to doing git clone
80
- args := []string {"gitpod" , ws .Location }
81
- cmd := exec .Command ("chown" , args ... )
82
- res , cerr := cmd .CombinedOutput ()
83
- if cerr != nil && ! process .IsNotChildProcess (cerr ) {
84
- err = git.OpFailedError {
85
- Args : args ,
86
- ExecErr : cerr ,
87
- Output : string (res ),
88
- Subcommand : "chown" ,
89
- }
90
- return err
91
- }
80
+ // args := []string{"gitpod", ws.Location}
81
+ // cmd := exec.Command("chown", args...)
82
+ // res, cerr := cmd.CombinedOutput()
83
+ // if cerr != nil && !process.IsNotChildProcess(cerr) {
84
+ // err = git.OpFailedError{
85
+ // Args: args,
86
+ // ExecErr: cerr,
87
+ // Output: string(res),
88
+ // Subcommand: "chown",
89
+ // }
90
+ // return err
91
+ // }
92
92
93
93
log .WithField ("stage" , "init" ).WithField ("location" , ws .Location ).Debug ("Running git clone on workspace" )
94
94
err = ws .Clone (ctx )
You can’t perform that action at this time.
0 commit comments