We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe86ec8 commit 1e00fbcCopy full SHA for 1e00fbc
src/Command.php
@@ -232,15 +232,15 @@ public function getCommand()
232
*/
233
public function getExecCommand()
234
{
235
- if ($this->_execCommand===null) {
236
- $command = $this->getCommand();
237
- if (!$command) {
238
- $this->_error = 'Could not locate any executable command';
239
- return false;
240
- }
241
- $args = $this->getArgs();
242
- $this->_execCommand = $args ? $command.' '.$args : $command;
+ $command = $this->getCommand();
+ if (!$command) {
+ $this->_error = 'Could not locate any executable command';
+ return false;
243
}
+
+ $args = $this->getArgs();
+ $this->_execCommand = $args ? $command.' '.$args : $command;
244
return $this->_execCommand;
245
246
0 commit comments