only exclude clsi-specific files from output list

This commit is contained in:
Brian Gough
2017-09-26 09:47:29 +01:00
parent 8305268848
commit 0930b1cd8f
2 changed files with 4 additions and 4 deletions

View File

@@ -78,8 +78,6 @@ module.exports = ResourceWriter =
should_delete = true
if path.match(/^output\./) or path.match(/\.aux$/) or path.match(/^cache\//) # knitr cache
should_delete = false
if path == '.project-sync-state'
should_delete = false
if path == "output.pdf" or path == "output.dvi" or path == "output.log" or path == "output.xdv"
should_delete = true
if path == "output.tex" # created by TikzManager if present in output files