Skip to content

Commit

Permalink
replace the results file each time
Browse files Browse the repository at this point in the history
  • Loading branch information
supercoolin committed Sep 20, 2023
1 parent e18ce2f commit 2b696a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion npf/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ def writeResults(self):
filename = self.__resultFilename()
if not os.path.exists(os.path.dirname(filename)):
os.makedirs(os.path.dirname(filename))
open(filename, 'a').close()

open(filename, 'w').close()

def build_path(self):
return self.repo.get_build_path()
Expand Down

0 comments on commit 2b696a0

Please sign in to comment.