Skip to content

Commit

Permalink
fix: re-enable --dry-run on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Scaniox authored and t-bre committed Mar 4, 2023
1 parent 9815059 commit 247ca37
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ccdgen/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,7 @@ def make(command: list[str] = []) -> str:

CODEC = 'utf-8' # TODO: is this always the case?

# dry run doesn't seem to work on windows
if sys.platform == "win32":
make_commands = ['--always-make']
else:
make_commands = ['--always-make', '--dry-run']
make_commands = ['--always-make', '--dry-run']

try:
result = subprocess.run(command + make_commands,
Expand Down

0 comments on commit 247ca37

Please sign in to comment.