Skip to content

Commit 5f28696

Browse files
committed
[DATALAD RUNCMD] run codespell throughout fixing typo automagically
=== Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
1 parent 62ff18f commit 5f28696

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.pnp.cjs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/openneuro-app/src/scripts/dataset/mutations/create-anonymous-reviewer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const CreateReviewLink: FC<CreateReviewLinkProps> = ({ datasetId }) => {
3030
<div className="share-form-controls">
3131
{error
3232
? (
33-
"An Error Occured"
33+
"An Error Occurred"
3434
)
3535
: data
3636
? (

services/datalad/datalad_service/common/git.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ class OpenNeuroGitError(Exception):
1414
"""OpenNeuro git repo states that should not arise under normal use but may be a valid git operation in other contexts."""
1515

1616

17-
def git_show(path, commitish, obj):
17+
def git_show(path, committish, obj):
1818
repo = pygit2.Repository(path)
19-
commit, _ = repo.resolve_refish(commitish)
19+
commit, _ = repo.resolve_refish(committish)
2020
data_bytes = (commit.tree / obj).read_raw()
2121
encoding = chardet.detect(data_bytes[0:4096])["encoding"] or 'utf-8'
2222
return data_bytes.decode(encoding)

0 commit comments

Comments
 (0)