fix: remove relative path fallback in findConvertScript, rely on PATH only
Build and Deploy / build-and-deploy (push) Successful in 1m33s

This commit is contained in:
2026-05-21 11:42:06 -04:00
parent 16074b0060
commit 5117c9d445
+5 -1
View File
@@ -479,7 +479,11 @@ findConvertScript = do
mPath <- findExecutable "convert-to-cooklang"
case mPath of
Just p -> pure p
Nothing -> makeAbsolute "scripts/convert-to-cooklang"
Nothing ->
ioError $
userError $
"convert-to-cooklang not found on PATH. "
<> "Install it to /usr/local/bin/convert-to-cooklang or add it to PATH."
-- | Write a temporary YAML config for the subprocess.
writeConvertConfig :: FilePath -> AnthropicConfig -> IO ()