From 6dae9731ea87bd27f7e0121e0c21c1a583bd230c Mon Sep 17 00:00:00 2001 From: JobaDiniz Date: Wed, 11 Oct 2023 14:49:06 -0300 Subject: [PATCH] fix(build): injected code had parser errors Signed-off-by: JobaDiniz --- src/Joba.IBM.RPA/Snippets/InjectDependencies.routine.snippet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Joba.IBM.RPA/Snippets/InjectDependencies.routine.snippet b/src/Joba.IBM.RPA/Snippets/InjectDependencies.routine.snippet index 05349d7..c9d5530 100644 --- a/src/Joba.IBM.RPA/Snippets/InjectDependencies.routine.snippet +++ b/src/Joba.IBM.RPA/Snippets/InjectDependencies.routine.snippet @@ -1,7 +1,7 @@ beginSub --name __ExportDependenciesAndSetWorkingDirectory //Get the current 'process id' writeToFile --value dummy --createrandomfile --encoding "Default" __dummyFilePathForPowershell=value - powerShell --apartmentState "MTA" --script "$PID | OUT-FILE -FilePath \"${__dummyFilePathForPowershell}\"" success=success + powerShell --apartmentState "MTA" --script "$PID | OUT-FILE -FilePath \"${__dummyFilePathForPowershell}\"" readAllText --filepath "${__dummyFilePathForPowershell}" --encoding "Default" __pid=value trimString --text "${__pid}" --trimoption "TrimStartAndEnd" __pid=value //Unzipping