Skip to content

Commit

Permalink
Merge pull request #160 from cchartmann/patch-1
Browse files Browse the repository at this point in the history
fixes #156
  • Loading branch information
blizzz authored Jun 2, 2023
2 parents 3aa5f29 + 1a5dfcb commit f27b77d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Operation.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ protected function buildCommand(string $template, Node $node, string $event, arr
$nodeID = $node->getId();
} catch (InvalidPathException | NotFoundException $e) {
}
$command = str_replace('%s', escapeshellarg((string)$nodeID), $command);
$command = str_replace('%i', escapeshellarg((string)$nodeID), $command);
}

if (strpos($command, '%a')) {
Expand Down

0 comments on commit f27b77d

Please sign in to comment.