Skip to content

campaigns: close cidfile before removing it

Created by: LawnGnome

Attempting to run a campaign on Windows currently fails because src-cli doesn't close the temporary cidfile before removing it, and Windows cannot even with open files. Unfortunately, we don't actually find this out until Docker fails because we don't check the error return from os.File.Chmod(). Oops.