1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-11 21:14:02 +00:00

Improve output directory handling

This change is likely to break most existing scripts that call
TiddlyWiki.

TL;DR - output paths are now relative to the editions/output folder,
rather than to the current folder

See [[Notes for upgrading to 5.0.11-beta]] for details.
This commit is contained in:
Jermolene
2014-04-27 08:28:21 +01:00
parent 649f68288a
commit e9557b578e
23 changed files with 151 additions and 92 deletions

View File

@@ -29,7 +29,7 @@ Command.prototype.execute = function() {
if(this.params.length < 1) {
return "Missing output path";
}
this.commander.outputPath = path.resolve(this.commander.outputPath,this.params[0]);
this.commander.outputPath = path.resolve(process.cwd(),this.params[0]);
return null;
};