Fixed bug occurring during startup execution of scripts.
@@ -21,6 +21,7 @@ package com.cognifide.cq.cqsm.core.executors;
import static com.cognifide.cq.cqsm.core.scripts.ScriptFilters.filterOnStart;
+import com.cognifide.cq.cqsm.api.history.History;
import com.cognifide.cq.cqsm.api.scripts.EventListener;
import com.cognifide.cq.cqsm.api.scripts.Script;
import com.cognifide.cq.cqsm.api.scripts.ScriptFinder;
@@ -51,6 +52,9 @@ public class StartupExecutor extends AbstractExecutor {
@Reference
private EventListener eventListener;
+ @Reference
+ private History history;
+
@Reference
private ScriptManager scriptManager;
