Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(typos):check spelling #186

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ jobs:
cache: 'npm'
- run: npm ci
- run: npm run validate_all
- name: Check spelling
uses: crate-ci/typos@master
2 changes: 1 addition & 1 deletion api/starknet_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
"name": {
"title": "name",
"type": "string",
"description": "the constructor name, currently forced to be `contructor`",
"description": "the constructor name, currently forced to be `constructor`",
"enum": [
"constructor"
]
Expand Down
2 changes: 1 addition & 1 deletion validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async function fetchExternalRefsFor(docToParse) {
* For a given dereferencer object, make sure its initial refs don't include refs that are already
* in the ref cache it has. So it won't try to resolve these.
*
* @param {Dereferencer} dereffer The dereferncer object
* @param {Dereferencer} dereffer The dereferencer object
* @returns The amended dereferencer.
*/
function fixRefs(dereffer) {
Expand Down