mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-12-06 16:58:05 +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:
@@ -26,7 +26,7 @@ var Commander = function(commandTokens,callback,wiki,streams) {
|
||||
this.callback = callback;
|
||||
this.wiki = wiki;
|
||||
this.streams = streams;
|
||||
this.outputPath = process.cwd();
|
||||
this.outputPath = path.resolve($tw.boot.wikiPath,$tw.config.wikiOutputSubDir);
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user