mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
updated build-helper.yml
This commit is contained in:
parent
4ac5d93ed2
commit
781ed2e57e
2
.github/workflows/build-helper.yml
vendored
2
.github/workflows/build-helper.yml
vendored
@ -89,7 +89,7 @@ jobs:
|
||||
mv out/make/zip/linux/x64/Wave-linux-x64-$WAVETERM_VERSION.zip buildtemp/waveterm-linux-x64-v$WAVETERM_VERSION.zip
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: waveterm-build-linux-x64
|
||||
name: waveterm-builds
|
||||
path: buildtemp
|
||||
retention-days: 2
|
||||
|
||||
|
@ -188,9 +188,9 @@ func bashParseDeclareOutput(state *packet.ShellState, declareBytes []byte, pvarB
|
||||
declareStr := string(declareBytes)
|
||||
r := bytes.NewReader(declareBytes)
|
||||
parser := syntax.NewParser(syntax.Variant(syntax.LangBash))
|
||||
file, err := parser.Parse(r, "aliases")
|
||||
file, err := parser.Parse(r, "bash-declare-output")
|
||||
if err != nil {
|
||||
return err
|
||||
return fmt.Errorf("cannot parse bash declare output: %w", err)
|
||||
}
|
||||
var firstParseErr error
|
||||
declMap := make(map[string]*DeclareDeclType)
|
||||
@ -293,7 +293,7 @@ func bashAssocArrayVarToMap(d *DeclareDeclType) (map[string]string, error) {
|
||||
parser := syntax.NewParser(syntax.Variant(syntax.LangBash))
|
||||
file, err := parser.Parse(r, "assocdecl")
|
||||
if err != nil {
|
||||
return nil, err
|
||||
return nil, fmt.Errorf("parsing bash assoc-array value: %w", err)
|
||||
}
|
||||
if len(file.Stmts) != 1 {
|
||||
return nil, fmt.Errorf("invalid assoc-array parse (multiple stmts)")
|
||||
|
Loading…
Reference in New Issue
Block a user