diff --git a/Sketch Measure.sketchplugin/Contents/Sketch/library/common.js b/Sketch Measure.sketchplugin/Contents/Sketch/library/common.js index 6c081fe..834d6a4 100755 --- a/Sketch Measure.sketchplugin/Contents/Sketch/library/common.js +++ b/Sketch Measure.sketchplugin/Contents/Sketch/library/common.js @@ -2885,6 +2885,9 @@ SM.extend({ savePath = this.getSavePath(); if(savePath){ + // Delete the files that are currently there to avoid building up cruft + NSFileManager.defaultManager().removeItemAtPath_error(savePath, nil); + // self.message(_("Exporting...")); var processingPanel = this.SMPanel({ url: this.pluginSketch + "/panel/processing.html",