Skip to content

altshfmt failed with error "reached EOF without matching { with }" #5

@coiby

Description

@coiby

Hi,

I notice this error when trying to add altshfmt to Github Action.

This error can be reproduced with one step,

curl -fsSL https://github.com/rhkdump/kdump-utils/raw/refs/heads/main/spec/kdumpctl_general_spec.sh | altshfmt -d

It seems altshfmt doesn't recognize Parameters:value.

A minimal example to reproduce the error,

#!/bin/bash

Parameters:value aarch64 ppc64le

It 'is simple'
  When call echo "$1"
  The output should eq "$1"
End

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions