nash icon indicating copy to clipboard operation
nash copied to clipboard

sh: bad error message

Open i4ki opened this issue 6 years ago • 0 comments

This code:

abortonerr($status, format("Failed to read tag: %s", path))

reports:

/home/i4k/nash/lib/acme/acme.sh:33:58: Unquoted string not allowed at pos {33 58} ())

The 'unquoted string' in question is the path. But a better wording would be:

/home/i4k/nash/lib/acme/acme.sh:33:58: Identifier not allowed.

The 'unquoted string' confuses, it has nothing to do with a literal string and the 'at pos ...' is redundant because the reported path already is fully qualified.

i4ki avatar Mar 19 '18 09:03 i4ki