mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-03 23:21:15 +00:00
GenerateScript should not return encoded script (#1397)
followup to #1395
This commit is contained in:
@@ -16,7 +16,6 @@ package common
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"encoding/base64"
|
||||
"fmt"
|
||||
"strings"
|
||||
)
|
||||
@@ -36,7 +35,7 @@ func generateScriptWindows(commands []string) string {
|
||||
setupScriptWin,
|
||||
buf.String(),
|
||||
)
|
||||
return base64.StdEncoding.EncodeToString([]byte(script))
|
||||
return script
|
||||
}
|
||||
|
||||
const setupScriptWin = `
|
||||
|
Reference in New Issue
Block a user