Skip to content

Commit

Permalink
pass arg
Browse files Browse the repository at this point in the history
  • Loading branch information
lsnow99 committed Oct 24, 2024
1 parent 1b54709 commit fa8c90c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions just_sh/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -1874,10 +1874,10 @@ def main(
justfile_data = f.read()

if outfile_path == "-":
sys.stdout.write(compile(justfile_data, "just.sh", verbose))
sys.stdout.write(compile(justfile_data, "just.sh", verbose, deterministic=deterministic))
else:
with open(outfile_path, "w") as f:
f.write(compile(justfile_data, outfile_path, verbose))
f.write(compile(justfile_data, outfile_path, verbose, deterministic=deterministic))
os.chmod(outfile_path, os.stat(outfile_path).st_mode | stat.S_IEXEC)


Expand Down Expand Up @@ -1911,7 +1911,7 @@ def cli_entrypoint() -> None:
"Call `./just.sh` instead of `just.sh` to execute the generated script."
)

main(parsed_args.infile, parsed_args.outfile, verbose=parsed_args.verbose, deterministic=parser.deterministic)
main(parsed_args.infile, parsed_args.outfile, verbose=parsed_args.verbose, deterministic=parsed_args.deterministic)


if __name__ == "__main__":
Expand Down

0 comments on commit fa8c90c

Please sign in to comment.