Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
sahithibanda01 committed Dec 22, 2023
1 parent 75fd49d commit b75e8c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"program": "${workspaceFolder}",
"args": [
"server",
],
"sudo": true,
]
},
{
"name": "run client",
Expand Down
8 changes: 4 additions & 4 deletions pipeline/runtime/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"context"
"fmt"
"io"
// "os"
"os"
"time"

"github.com/drone/runner-go/pipeline/runtime"
Expand Down Expand Up @@ -61,9 +61,9 @@ func executeRunStep(ctx context.Context, engine *engine.Engine, r *api.StartStep
return exited, nil, nil, nil, err
}
// Delete output variable file
// if ferr := os.Remove(outputFile); ferr != nil {
// logrus.WithError(ferr).WithField("file", outputFile).Warnln("could not remove output file")
// }
if ferr := os.Remove(outputFile); ferr != nil {
logrus.WithError(ferr).WithField("file", outputFile).Warnln("could not remove output file")
}
if len(r.Outputs) > 0 {
outputsV2 := []*api.OutputV2{}
for _, output := range r.Outputs {
Expand Down

0 comments on commit b75e8c1

Please sign in to comment.