diff options
| author | JP Dillingham <jp@dillingham.me> | 2024-10-20 18:24:39 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2024-10-20 18:24:39 -0500 |
| commit | f276acf7a74e84dd843bafc7be776fb413ccdb94 (patch) | |
| tree | de0616e7074f2f31512cb2299497784df15d290c /src/slskd/Integrations/Scripts/ScriptService.cs | |
| parent | 18cc1f6712b37dbe49c39619751460e368012f8a (diff) | |
| download | slskd-f276acf7a74e84dd843bafc7be776fb413ccdb94.tar.gz | |
add todo
Diffstat (limited to 'src/slskd/Integrations/Scripts/ScriptService.cs')
| -rw-r--r-- | src/slskd/Integrations/Scripts/ScriptService.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slskd/Integrations/Scripts/ScriptService.cs b/src/slskd/Integrations/Scripts/ScriptService.cs index 936522c4..4e086148 100644 --- a/src/slskd/Integrations/Scripts/ScriptService.cs +++ b/src/slskd/Integrations/Scripts/ScriptService.cs @@ -67,6 +67,7 @@ public class ScriptService try { + // todo: update options validation to ensure run strings have at least 2 words var run = script.Value.Run; var executable = run.Split(" ", 2)[0]; var args = run.Split(" ", 2)[1].Replace("$DATA", data.ToJson()); |
