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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user