Permalink
Browse files

Fixed bug archiving removed templated

  • Loading branch information...
davidmerfield committed Nov 30, 2018
1 parent 6015d58 commit 396c9cb95a43cc6b460a4f9a329c07980e108349
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/template/archive.js
@@ -21,7 +21,7 @@ if (require.main === module) {
function main(name, callback) {
var templateID = "SITE:" + name;
if (!fs.statSync(templateDir + "/" + name).isDirectory())
if (!fs.existsSync(templateDir + "/" + name))
console.warn("Warning: could not find existing global template directory at app/templates/" + name);
Template.getMetadata(templateID, function(err, template) {

0 comments on commit 396c9cb

Please sign in to comment.