Skip to content

Commit 155e1ec

Browse files
CCM-10241 updating script refs
1 parent 699e8d0 commit 155e1ec

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/config/pre-commit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ repos:
1818
- id: pretty-format-json
1919
exclude: |
2020
(?x)^(
21-
package-lock.json|
21+
package(-lock)?\.json$ |
2222
packages/event-schemas/schemas/[^/]+/[^/]+\.json
2323
)$
2424
args: ['--autofix']

scripts/init.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ _install-dependency: # Install asdf dependency - mandatory: name=[listed in the
4646
asdf install ${name} $(or ${version},)
4747

4848
_install-dependencies: # Install all the dependencies listed in .tool-versions
49-
for plugin in $$(grep ^[a-z] .tool-versions | sed 's/[[:space:]].*//'); do
50-
make _install-dependency name="$${plugin}"
49+
for plugin in $$(grep '^[a-z]' .tool-versions | cut -f1 -d' '); do \
50+
echo "Installing $${plugin}..."; \
5151
done
5252

5353
clean:: # Remove all generated and temporary files (common) @Operations

0 commit comments

Comments
 (0)