Skip to content

Commit

Permalink
Update Spectral deps
Browse files Browse the repository at this point in the history
  • Loading branch information
P0lip committed Jan 19, 2023
1 parent 6018583 commit 6764380
Show file tree
Hide file tree
Showing 3 changed files with 530 additions and 163 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
"@octokit/graphql": "^4.6.0",
"@octokit/request": "^5.4.14",
"@octokit/rest": "^18.1.0",
"@stoplight/spectral-core": "^1.12.2",
"@stoplight/spectral-parsers": "^1.0.1",
"@stoplight/spectral-ref-resolver": "^1.0.1",
"@stoplight/spectral-ruleset-bundler": "^1.2.1",
"@stoplight/spectral-rulesets": ">=1.8.0",
"@stoplight/spectral-core": "^1.16.0",
"@stoplight/spectral-parsers": "^1.0.2",
"@stoplight/spectral-ref-resolver": "^1.0.3",
"@stoplight/spectral-ruleset-bundler": "^1.5.0",
"@stoplight/spectral-rulesets": ">=1.14.1",
"@stoplight/types": "^12.3.0",
"fast-glob": "^3.2.7",
"fp-ts": "^2.9.5",
Expand Down
2 changes: 1 addition & 1 deletion src/getRuleset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export async function getRuleset(rulesetFile: Optional<string>): Promise<Ruleset
const io: IO = { fetch, fs };

try {
return await bundleAndLoadRuleset(rulesetFile, io, [commonjs(), builtins()]);
return await bundleAndLoadRuleset(rulesetFile, io, [builtins(), commonjs()]);
} catch (e) {
error(`Failed to load ruleset '${rulesetFile}'... Error: ${String(e)}`);
throw e;
Expand Down
Loading

0 comments on commit 6764380

Please sign in to comment.