This commit is contained in:
barisusakli
2017-04-18 13:53:43 -04:00
parent b33d25b0b8
commit 27a76fcfc9
2 changed files with 28 additions and 14 deletions

4
nodebb
View File

@@ -408,6 +408,10 @@ var commands = {
process.stdout.write(commands.activate.usage + '\n');
process.exit();
}
if (name.startsWith('nodebb-theme')) {
fork(['--reset', '-t', name]);
return;
}
var arr = ['--activate=' + name].concat(process.argv.slice(4));
fork(arr);
},