From d1665813e6db4241fa628e2ab63247c4ec88c5e6 Mon Sep 17 00:00:00 2001 From: Calvin Cestari <146856+calvincestari@users.noreply.github.com> Date: Fri, 10 Oct 2025 16:49:02 -0700 Subject: [PATCH] fix: tool url for CLI install plugin --- apollo-ios/Plugins/InstallCLI/InstallCLIPluginCommand.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apollo-ios/Plugins/InstallCLI/InstallCLIPluginCommand.swift b/apollo-ios/Plugins/InstallCLI/InstallCLIPluginCommand.swift index 07eb1da4f..ff87af340 100644 --- a/apollo-ios/Plugins/InstallCLI/InstallCLIPluginCommand.swift +++ b/apollo-ios/Plugins/InstallCLI/InstallCLIPluginCommand.swift @@ -14,8 +14,7 @@ struct InstallCLIPluginCommand: CommandPlugin { try dependencies.forEach { dep in if dep.package.displayName == "Apollo" { let process = Process() - let url = try context.tool(named: "sh").url - process.executableURL = URL(fileURLWithPath: url.absoluteString) + process.executableURL = try context.tool(named: "sh").url let downloadScriptPath = dep.package.directoryURL .appendingPathComponent("scripts/download-cli.sh")