fix: resolve convert-to-cooklang script path with makeAbsolute
Build and Deploy / build-and-deploy (push) Successful in 1m46s
Build and Deploy / build-and-deploy (push) Successful in 1m46s
This commit is contained in:
+1
-1
@@ -479,7 +479,7 @@ findConvertScript = do
|
|||||||
mPath <- findExecutable "convert-to-cooklang"
|
mPath <- findExecutable "convert-to-cooklang"
|
||||||
case mPath of
|
case mPath of
|
||||||
Just p -> pure p
|
Just p -> pure p
|
||||||
Nothing -> pure "scripts/convert-to-cooklang"
|
Nothing -> makeAbsolute "scripts/convert-to-cooklang"
|
||||||
|
|
||||||
-- | Write a temporary YAML config for the subprocess.
|
-- | Write a temporary YAML config for the subprocess.
|
||||||
writeConvertConfig :: FilePath -> AnthropicConfig -> IO ()
|
writeConvertConfig :: FilePath -> AnthropicConfig -> IO ()
|
||||||
|
|||||||
Reference in New Issue
Block a user