mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
review: addressing
This commit is contained in:
parent
aa27a37064
commit
fbd55eb17e
1 changed files with 1 additions and 1 deletions
|
|
@ -244,7 +244,7 @@ class Builds extends Action
|
|||
$rootDirectoryWithoutSpaces = str_replace(' ', '', $rootDirectory);
|
||||
$from = $tmpDirectory . '/' . $rootDirectory;
|
||||
$to = $tmpDirectory . '/' . $rootDirectoryWithoutSpaces;
|
||||
$exit = Console::execute('mv "' . \escapeshellcmd($from) . '" "' . \escapeshellcmd($to) . '"', '', $stdout, $stderr);
|
||||
$exit = Console::execute('mv "' . \escapeshellarg($from) . '" "' . \escapeshellarg($to) . '"', '', $stdout, $stderr);
|
||||
|
||||
if ($exit !== 0) {
|
||||
throw new \Exception('Unable to move function with spaces' . $stderr);
|
||||
|
|
|
|||
Loading…
Reference in a new issue