diff options
Diffstat (limited to 'cmd/build.go')
-rw-r--r-- | cmd/build.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/build.go b/cmd/build.go index 309d1ee..81b6069 100644 --- a/cmd/build.go +++ b/cmd/build.go @@ -24,6 +24,7 @@ func init() { // doBuild implements the steps taken for the build command func doBuild(cmd *cobra.Command, args []string) { + defer utils.Cleanup() iidfile, err := ioutil.TempFile("/tmp", "dive.*.iid") if err != nil { log.Fatal(err) |