[Bugfix] Fix yt-dlp illegal write issue that causes failure to fetch source details (#247)
* Bandaid fix for yt-dlp write issue * Ensured tempfile directory on app boot
This commit is contained in:
1 parent
a7b0af65e2
commit
b1a6a6a81f
4 files changed
+39
-1
No files matched your search
@@ -7,6 +7,10 @@ defmodule Pinchflat.Utils.CliUtilsTest do
|
||||
test "delegates to System.cmd/3" do
|
||||
assert {"output\n", 0} = CliUtils.wrap_cmd("echo", ["output"])
|
||||
end
|
||||
|
||||
test "sets the current directory to the tmp dir" do
|
||||
assert {"/tmp/test/tmpfiles\n", 0} = CliUtils.wrap_cmd("pwd", [])
|
||||
end
|
||||
end
|
||||
|
||||
describe "parse_options/1" do
|
||||
|
||||
Reference in new issue
Block a user