Skip to content

Commit 99b5549

Browse files
authored
Replace backticks with shell_exec for a deprecation (#428)
1 parent 29ade9f commit 99b5549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/InstallCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ protected function _isNPMAvailable(): bool
145145
$command = 'which npm';
146146
}
147147

148-
return !!`$command`;
148+
return !!shell_exec($command);
149149
}
150150

151151
/**

0 commit comments

Comments
 (0)