diff --git a/appinfo/info.xml b/appinfo/info.xml index 6bd7059..60f1a8e 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -9,6 +9,9 @@ agpl Arthur Schiwon WorkflowScript + + + files tools organization diff --git a/lib/Operation.php b/lib/Operation.php index fc7f946..34c523b 100644 --- a/lib/Operation.php +++ b/lib/Operation.php @@ -61,7 +61,7 @@ public function __construct(IManager $workflowEngineManager, IJobList $jobList, public function considerScript(Node $node, string $event, array $extra = []) { try { - $this->workflowEngineManager->setFileInfo($node->getStorage(), $node->getPath()); + $this->workflowEngineManager->setFileInfo($node->getStorage(), $node->getInternalPath()); $matches = $this->workflowEngineManager->getMatchingOperations(Operation::class, false); foreach ($matches as $match) { $command = $this->buildCommand($match['operation'], $node, $event, $extra);