mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Enable special files to be declared as output file
This commit is contained in:
parent
7e34076a7b
commit
d79f00871e
2 changed files with 4 additions and 3 deletions
|
|
@ -110,7 +110,7 @@ impl Execute for Archive {
|
|||
.unwrap_or_default()
|
||||
.to_string_lossy()
|
||||
!= "mkv"
|
||||
&& !is_special_file(PathBuf::from(&self.output))
|
||||
&& !is_special_file(&self.output)
|
||||
&& self.output != "-"
|
||||
{
|
||||
bail!("File extension is not '.mkv'. Currently only matroska / '.mkv' files are supported")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue