mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-06-13 09:23:52 -07:00
pr feedback
This commit is contained in:
@@ -74,8 +74,10 @@ class LocalCloudRunner implements ProviderInterface {
|
||||
.split('\n')
|
||||
.filter((x) => x.trim().length > 0)
|
||||
.join(' ; ');
|
||||
|
||||
// Use shell-quote to properly escape the command string, preventing command injection
|
||||
const bashWrapped = `bash -lc ${quote([inline])}`;
|
||||
|
||||
return await CloudRunnerSystem.Run(bashWrapped);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user