Skip to content

Commit d3fa335

Browse files
committed
Fix other violation and add both globs to Makefile lint command.
1 parent 5d0bbe0 commit d3fa335

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ fmt-shell:
2828
# Check shell scripts for common issues
2929
lint-shell:
3030
@echo "🔍 Linting shell scripts..."
31-
@shellcheck spec/**/*.sh
31+
@shellcheck spec/**/**/*.sh spec/**/*.sh
3232

3333
# Format YAML files (trailing whitespace + final newline only)
3434
fmt-yaml:

spec/commands/exec/bundler_spec.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ gem 'minitest'
243243
EOF
244244

245245
# Initial sync to install both gems
246-
rb -R $RUBIES_DIR sync >/dev/null 2>&1
246+
rb -R "$RUBIES_DIR" sync >/dev/null 2>&1
247247

248248
# Verify both gems are in Gemfile.lock
249249
grep -q "rake" Gemfile.lock || fail "rake should be in initial Gemfile.lock"
@@ -256,7 +256,7 @@ gem 'rake'
256256
EOF
257257

258258
# Execute a ruby command - this should trigger lockfile update via check_sync
259-
When run rb -R $RUBIES_DIR exec ruby -e "puts 'test'"
259+
When run rb -R "$RUBIES_DIR" exec ruby -e "puts 'test'"
260260
The status should equal 0
261261
The output should include "test"
262262

0 commit comments

Comments
 (0)