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
I had a change where I needed to run this command. It appears to be generating the .tmp files just fine, but the mv "${base_generated_file}.tmp" "${base_generated_file}" must be silently failing. After the script is run, my folder has both a types.generated.go and types.generated.go.tmp. If I just do the mv myself, everything works, so the .tmp file has the right updates.
Also, while we're in there, the year 2015 is hardcoded. We should parse the output of "date" or something like that.
The text was updated successfully, but these errors were encountered:
I had a change where I needed to run this command. It appears to be generating the .tmp files just fine, but the mv "${base_generated_file}.tmp" "${base_generated_file}" must be silently failing. After the script is run, my folder has both a types.generated.go and types.generated.go.tmp. If I just do the mv myself, everything works, so the .tmp file has the right updates.
Also, while we're in there, the year 2015 is hardcoded. We should parse the output of "date" or something like that.
The text was updated successfully, but these errors were encountered: