Browse Source

better update routine

Heydon Pickering 8 năm trước cách đây
mục cha
commit
b219494a4e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/update.js

+ 1 - 1
lib/update.js

@@ -2,10 +2,10 @@ var exec = require('child_process').exec;
 var path = require('path');
 
 var themeFolder = path.join(path.resolve('.'), 'themes');
-console.log(themeFolder);
 var oldTheme = path.join(themeFolder, 'infusion');
 
 exec('mv '+oldTheme+' '+oldTheme+'-old-'+Date.now(), function(error, stdout, stderr) {
+  console.log('Updating...');
   if (error !== null) {
     console.error('Error saving old infusion version.');
     return;