mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 16:44:33 +00:00
Prevent roc format from reading $PWD when --stdin or --stdout options given
This commit is contained in:
parent
8e0e48e0bb
commit
390808eb12
2 changed files with 3 additions and 1 deletions
|
@ -287,6 +287,7 @@ fn main() -> io::Result<()> {
|
|||
values.push(os_string.to_owned());
|
||||
}
|
||||
}
|
||||
None if from_stdin || to_stdout => {}
|
||||
None => {
|
||||
let mut os_string_values: Vec<OsString> = Vec::new();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue