refactor: 修改git hook文件

This commit is contained in:
2025-01-17 11:27:28 +08:00
parent 780f7e0a0c
commit 9da69b1031

View File

@@ -46,7 +46,7 @@ try {
throw new \Exception('FAILED - json decode - '. json_last_error()); throw new \Exception('FAILED - json decode - '. json_last_error());
} }
exec('sudo git pull origin dev --rebase 2>&1', $result); exec('git pull origin dev --rebase 2>&1', $result);
var_export($result);exit; var_export($result);exit;
} catch (\Throwable $th) { } catch (\Throwable $th) {