Closed ntnn closed 4 years ago
In #65 I added os.Args in its entirety to the generated header - which included the full path in os.Args[0]. This is of course different for almost everybody and would cause the generate test in the github actions to fail for every PR.
os.Args
os.Args[0]
This PR prunes os.Args[0] to its base.
https://github.com/ntnn/go-ase/runs/901472371?check_suite_focus=true
Description
In #65 I added
os.Args
in its entirety to the generated header - which included the full path inos.Args[0]
. This is of course different for almost everybody and would cause the generate test in the github actions to fail for every PR.This PR prunes
os.Args[0]
to its base.How was the patch tested?
https://github.com/ntnn/go-ase/runs/901472371?check_suite_focus=true