Skip to content

Commit b4e8fcc

Browse files
committed
fix: hardcode spectral version in bin file
1 parent f839435 commit b4e8fcc

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
## Contributing to ruleset library
1+
# Contributing to ruleset library
22

3-
### Updating version of spectral
3+
## Updating version of spectral
44

5-
Spectral version we use is controled by `./spectral/spectral.version` file.
5+
Spectral version we use is controled by `./spectral/exec/rhoasapi` file

spectral/exec/rhoasapi

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

3-
spectral_version=`cat "../spectral.version"`
3+
spectral_version=6.4.2
44

55
spectral --version || npm install -g --force @stoplight/spectral-cli@$spectral_version
66

spectral/spectral.version

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)