1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-12-06 08:48:05 +00:00

update docs change var name

This commit is contained in:
James Welford Anderson
2015-01-12 02:55:42 +09:00
parent ddb8daa15a
commit e87dadd61d
2 changed files with 4 additions and 4 deletions

View File

@@ -38,9 +38,9 @@ Command.prototype.execute = function() {
pathname = path.resolve(this.commander.outputPath,this.params[2]),
type = this.params[3] || "text/html",
extension = this.params[4] || ".html",
deletedirectory = (this.params[5] || "") != "noclean",
deleteDirectory = (this.params[5] || "") != "noclean",
tiddlers = wiki.filterTiddlers(filter);
if(deletedirectory){
if(deleteDirectory){
$tw.utils.deleteDirectory(pathname);
}
$tw.utils.createDirectory(pathname);