mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-12-05 04:35:21 +00:00
1 parent
b9218a8391
commit
ea3cb1c58d
1 file changed
+1
-1
@@ -24,7 +24,7 @@ var Command = function(params,commander) {
|
||||
|
||||
Command.prototype.execute = function() {
|
||||
// Get the build targets defined in the wiki
|
||||
var buildTargets = $tw.boot.wikiInfo.build;
|
||||
var buildTargets = $tw.boot.wikiInfo && $tw.boot.wikiInfo.build;
|
||||
if(!buildTargets) {
|
||||
return "No build targets defined";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user