You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under the hood, the gno transpile command uses the gnoFilesFromArgs() function, to collect all the gno files found in the path argument that should be processed. The problem is that this function is too greedy, it also returns gno files from the .git directory and these files are not true gno files (they don't contain gno code).
For example, when run inside this repository, the command returns errors like :
$ gno transpile .
.git/logs/refs/remotes/harry/hariom/get-rid-of-filetest.gno: precompile: parse: tmp.gno:1:1: expected 'package', found 0000000000000000000000000000000000000000 (and 1 more errors)
I think gnoFilesFromArgs() should filter out any hidden folders or files
The text was updated successfully, but these errors were encountered:
Under the hood, the
gno transpile
command uses thegnoFilesFromArgs()
function, to collect all the gno files found in the path argument that should be processed. The problem is that this function is too greedy, it also returns gno files from the.git
directory and these files are not true gno files (they don't contain gno code).For example, when run inside this repository, the command returns errors like :
I think
gnoFilesFromArgs()
should filter out any hidden folders or filesThe text was updated successfully, but these errors were encountered: