From 7c2ca93b9f5484676fcd4bf4a29a0841d9c392d1 Mon Sep 17 00:00:00 2001 From: Al Date: Tue, 14 Jan 2025 08:53:49 +0100 Subject: [PATCH] chore: align debug traces dir name with algokit-utils-py behaviour (#28) * fix: align debug traces dir name with algokit-utils-py behaviour # Proposed changes - Minor typo rename to align with the folder name generated in algokit-utils-py * docs: fix typo in readme --- .github/workflows/pr.yml | 2 +- README.md | 2 +- src/constants.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 5ebbfe8..b3f80c0 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -19,7 +19,7 @@ jobs: pipx install algokit algokit localnet start npx --yes wait-on tcp:4001 -t 30000 - npm install --no-package-lock + npm ci --ignore-scripts audit-script: | npm run audit check_docs: diff --git a/README.md b/README.md index 6ac0adb..f0c327d 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Then to import it and activate `utils-ts` debugging: ```typescript import { Config } from '@algorandfoundation/algokit-utils' -import { registerDebugEventHandlers() } from '@algorandfoundation/algokit-utils-debug' +import { registerDebugEventHandlers } from '@algorandfoundation/algokit-utils-debug' Config.configure({ debug: true, diff --git a/src/constants.ts b/src/constants.ts index 355bd35..06a1eae 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,6 +1,6 @@ const ALGOKIT_DIR = '.algokit' const SOURCES_DIR = 'sources' -const DEBUG_TRACES_DIR = 'debug-traces' +const DEBUG_TRACES_DIR = 'debug_traces' const TEAL_FILE_EXT = '.teal' const TEAL_SOURCEMAP_EXT = '.teal.map' const DEFAULT_MAX_SEARCH_DEPTH = 10