Skip to content

Commit 6e0e8af

Browse files
authored
Update Queue.php - Fix code style
1 parent 5134cb8 commit 6e0e8af

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/code/Magento/Deploy/Process/Queue.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,11 @@ private function executePackage(Package $package, string $name, array &$packages
264264
&& ($this->maxProcesses < 2 || (count($this->inProgress) < $this->maxProcesses))
265265
) {
266266
if (!isset($packages[$name])) {
267-
$this->logger->debug('Preventing duplicate execution of package as it is in progress: ' . $package->getPath() . ' (pid: ' . $this->getPid($package) . ')');
267+
$this->logger->debug(sprintf(
268+
'Preventing duplicate execution of package as it is in progress: %s (pid: %s)',
269+
$package->getPath(),
270+
$this->getPid($package)
271+
));
268272
return;
269273
}
270274
unset($packages[$name]);

0 commit comments

Comments
 (0)