Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordizzy <diosmosis@users.noreply.github.com>2022-04-17 17:22:34 +0300
committerGitHub <noreply@github.com>2022-04-17 17:22:34 +0300
commitf1d2c4fbbe9124a3c2d7dcc20250f836c114af30 (patch)
tree9e85c997b25cffb91064f775d7de5e2958aadad0
parent605cd501ebbb6e96936b918b89fd847ab2e9c1d7 (diff)
fix retry loop in vue:build command (#19112)
-rw-r--r--plugins/CoreVue/Commands/Build.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/CoreVue/Commands/Build.php b/plugins/CoreVue/Commands/Build.php
index 93c24af457..6e030b9684 100644
--- a/plugins/CoreVue/Commands/Build.php
+++ b/plugins/CoreVue/Commands/Build.php
@@ -153,6 +153,9 @@ class Build extends ConsoleCommand
if ($this->isTypeScriptRaceConditionInOutput($plugin, $concattedOutput)) {
$output->writeln("<comment>The TypeScript compiler encountered a race condition when compiling "
. "files (files that exist were not found), retrying.</comment>");
+
+ ++$attempts;
+ continue;
}
if ($returnCode != 0
@@ -163,7 +166,7 @@ class Build extends ConsoleCommand
$output->writeln("");
}
- ++$attempts;
+ break;
}
}