streamly icon indicating copy to clipboard operation
streamly copied to clipboard

Better error handling in "str" quasiquoter

Open harendra-kumar opened this issue 3 years ago • 0 comments

Unterminated interpolation is not detected and reported:

                        [str|sudo #{nixDefaultProfile/bin/usermod
                            -p '*' #{loginId}|]

The above leads to a run time error:

sudo: #{nixDefaultProfile/bin/usermod: command not found

Instead we should report an error ar compile time.

harendra-kumar avatar Sep 02 '22 10:09 harendra-kumar