Skip to content

Commit 5672b4b

Browse files
committed
fix: install only when needed
1 parent 899888d commit 5672b4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spectral/exec/rhoasapi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22

3-
npm install -g @stoplight/spectral
3+
spectral --version || npm install -g @stoplight/spectral@6.4.2
44

55
spectral $@

0 commit comments

Comments
 (0)