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
filepath.Abs("") returns same results in all systems.
What did you see instead?
In windows, filepath.Abs("") returned an error which is The filename, directory name, or volume label syntax is incorrect.
And in macOS, filepath.Abs("") returned current working directory.
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?1.10.3
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?darwin,amd64 and windows,amd64
What did you do?
example code
What did you expect to see?
filepath.Abs("")
returns same results in all systems.What did you see instead?
In windows,
filepath.Abs("")
returned an error which isThe filename, directory name, or volume label syntax is incorrect.
And in macOS,
filepath.Abs("")
returned current working directory.The text was updated successfully, but these errors were encountered: