Pick up .ist files in acceptance tests
This commit is contained in:
@@ -46,7 +46,7 @@ module.exports = Client =
|
|||||||
return "#{entity}/#{subEntity}"
|
return "#{entity}/#{subEntity}"
|
||||||
else if stat.isFile() and entity != "output.pdf"
|
else if stat.isFile() and entity != "output.pdf"
|
||||||
extension = entity.split(".").pop()
|
extension = entity.split(".").pop()
|
||||||
if ["tex", "bib", "cls", "sty", "pdf_tex", "Rtex"].indexOf(extension) > -1
|
if ["tex", "bib", "cls", "sty", "pdf_tex", "Rtex", "ist", "md", "Rmd"].indexOf(extension) > -1
|
||||||
resources.push
|
resources.push
|
||||||
path: entity
|
path: entity
|
||||||
content: fs.readFileSync("#{baseDirectory}/#{directory}/#{entity}").toString()
|
content: fs.readFileSync("#{baseDirectory}/#{directory}/#{entity}").toString()
|
||||||
|
|||||||
Reference in New Issue
Block a user