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
Running goimports with the -srcdir flag on a file with invalid Go syntax will produce syntax errors with paths in the directory provided by -srcdir, not the actual file. This is arguably confusing, because now the error might refer to a file that doesn't exist.
Running
goimports
with the-srcdir
flag on a file with invalid Go syntax will produce syntax errors with paths in the directory provided by-srcdir
, not the actual file. This is arguably confusing, because now the error might refer to a file that doesn't exist.I would expect
/tmp/foo.go:1:9
in the error output./cc @bradfitz
The text was updated successfully, but these errors were encountered: