diff options
author | Hang Su <hang.su@algorand.com> | 2021-10-22 14:31:15 -0400 |
---|---|---|
committer | Hang Su <hang.su@algorand.com> | 2021-10-22 14:31:15 -0400 |
commit | 16dd1af127f4702097ca7b9b251e13d65c982a0d (patch) | |
tree | fa7d28610386e0f81182622f1f1223a056ae5a24 | |
parent | 1e5603c2691d7c0978d9688e5c89b0b0332528ec (diff) |
trim the heading/tailing spaces in teal codefix/space-before-pragma
-rw-r--r-- | data/transactions/logic/assembler.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/transactions/logic/assembler.go b/data/transactions/logic/assembler.go index 9c1a1b994..24a9fec7c 100644 --- a/data/transactions/logic/assembler.go +++ b/data/transactions/logic/assembler.go @@ -1594,6 +1594,7 @@ func (ops *OpStream) assemble(fin io.Reader) error { for scanner.Scan() { ops.sourceLine++ line := scanner.Text() + line = strings.TrimSpace(line) if len(line) == 0 { ops.trace("%d: 0 line\n", ops.sourceLine) continue |