Skip to content

Commit

Permalink
chore: fixing win compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
aorumbayev committed Dec 21, 2023
1 parent 7bf7b2d commit 47f3a5c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
9 changes: 6 additions & 3 deletions docs/cli/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,8 @@ If no argument is provided then outputs current setting.
Also see --skip-version-check which can be used to disable check for a single command.

```shell
algokit config version-prompt [OPTIONS] [[enable|disable]]
algokit config version-prompt [OPTIONS]
[[enable|disable]]
```

### Arguments
Expand Down Expand Up @@ -504,7 +505,8 @@ Copy the contents of the doctor message (in Markdown format) in your clipboard.
Explore the specified network in the browser using Dappflow.

```shell
algokit explore [OPTIONS] [[localnet|testnet|mainnet]]
algokit explore [OPTIONS]
[[localnet|testnet|mainnet]]
```

### Arguments
Expand All @@ -529,7 +531,8 @@ Supply the path to an application specification file or a directory to recursive
for "application.json" files

```shell
algokit generate client [OPTIONS] APP_SPEC_PATH_OR_DIR
algokit generate client [OPTIONS]
APP_SPEC_PATH_OR_DIR
```

### Options
Expand Down
4 changes: 3 additions & 1 deletion tests/tasks/test_analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ def test_analyze_multiple_files_recursive(
result.output = result.output.replace(
str(teal_root_folder / f"subfolder_{i}/dummy.teal"), f"dummy_contracts/subfolder_{i}/dummy.teal"
)
result.output = _format_snapshot(result.output, [str(cwd)])
result.output = _format_snapshot(
result.output, [str(cwd), *[f"dummy_contracts/subfolder_{i}/dummy.teal" for i in range(5)]], "dummy_file.teal"
)
verify(result.output)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
Warning: This task uses `tealer` to suggest improvements for your TEAL programs, but remember to always test your smart contracts code, follow modern software engineering practices and use the guidelines for smart contract development. This should not be used as a substitute for an actual audit. Do you understand? [Y/n]: y
DEBUG: Running 'pipx --version' in '{current_working_directory}'

Running 'pipx run --spec git+https://github.com/algorandfoundation/tealer.git@main tealer --json {current_working_directory}/dummy_contracts/subfolder_0/dummy.teal detect --contracts {current_working_directory}/dummy_contracts/subfolder_0/dummy.teal' in '{current_working_directory}'
Running 'pipx run --spec git+https://github.com/algorandfoundation/tealer.git@main tealer --json {current_working_directory}/dummy_file.teal detect --contracts {current_working_directory}/dummy_file.teal' in '{current_working_directory}'

DEBUG: Running 'pipx --version' in '{current_working_directory}'

Running 'pipx run --spec git+https://github.com/algorandfoundation/tealer.git@main tealer --json {current_working_directory}/dummy_contracts/subfolder_1/dummy.teal detect --contracts {current_working_directory}/dummy_contracts/subfolder_1/dummy.teal' in '{current_working_directory}'
Running 'pipx run --spec git+https://github.com/algorandfoundation/tealer.git@main tealer --json {current_working_directory}/dummy_file.teal detect --contracts {current_working_directory}/dummy_file.teal' in '{current_working_directory}'

DEBUG: Running 'pipx --version' in '{current_working_directory}'

Running 'pipx run --spec git+https://github.com/algorandfoundation/tealer.git@main tealer --json {current_working_directory}/dummy_contracts/subfolder_2/dummy.teal detect --contracts {current_working_directory}/dummy_contracts/subfolder_2/dummy.teal' in '{current_working_directory}'
Running 'pipx run --spec git+https://github.com/algorandfoundation/tealer.git@main tealer --json {current_working_directory}/dummy_file.teal detect --contracts {current_working_directory}/dummy_file.teal' in '{current_working_directory}'

DEBUG: Running 'pipx --version' in '{current_working_directory}'

Running 'pipx run --spec git+https://github.com/algorandfoundation/tealer.git@main tealer --json {current_working_directory}/dummy_contracts/subfolder_3/dummy.teal detect --contracts {current_working_directory}/dummy_contracts/subfolder_3/dummy.teal' in '{current_working_directory}'
Running 'pipx run --spec git+https://github.com/algorandfoundation/tealer.git@main tealer --json {current_working_directory}/dummy_file.teal detect --contracts {current_working_directory}/dummy_file.teal' in '{current_working_directory}'

DEBUG: Running 'pipx --version' in '{current_working_directory}'

Running 'pipx run --spec git+https://github.com/algorandfoundation/tealer.git@main tealer --json {current_working_directory}/dummy_contracts/subfolder_4/dummy.teal detect --contracts {current_working_directory}/dummy_contracts/subfolder_4/dummy.teal' in '{current_working_directory}'
Running 'pipx run --spec git+https://github.com/algorandfoundation/tealer.git@main tealer --json {current_working_directory}/dummy_file.teal detect --contracts {current_working_directory}/dummy_file.teal' in '{current_working_directory}'

File: dummy_contracts/subfolder_0/dummy.teal
File: dummy_file.teal

Detector: is-deletable
Impact: High
Expand All @@ -43,7 +43,7 @@ Execution Paths (#Lines):
2-8->26-30->31-34->35-38->40-45->76-86->46-47,
2-8->26-30->56-62

File: dummy_contracts/subfolder_1/dummy.teal
File: dummy_file.teal

Detector: is-deletable
Impact: High
Expand All @@ -67,7 +67,7 @@ Execution Paths (#Lines):
2-8->26-30->31-34->35-38->40-45->76-86->46-47,
2-8->26-30->56-62

File: dummy_contracts/subfolder_2/dummy.teal
File: dummy_file.teal

Detector: is-deletable
Impact: High
Expand All @@ -91,7 +91,7 @@ Execution Paths (#Lines):
2-8->26-30->31-34->35-38->40-45->76-86->46-47,
2-8->26-30->56-62

File: dummy_contracts/subfolder_3/dummy.teal
File: dummy_file.teal

Detector: is-deletable
Impact: High
Expand All @@ -115,7 +115,7 @@ Execution Paths (#Lines):
2-8->26-30->31-34->35-38->40-45->76-86->46-47,
2-8->26-30->56-62

File: dummy_contracts/subfolder_4/dummy.teal
File: dummy_file.teal

Detector: is-deletable
Impact: High
Expand Down

0 comments on commit 47f3a5c

Please sign in to comment.