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(cli): Use lowercase 'openneuro' for local remote names #3282

Merged
merged 1 commit into from
Jan 15, 2025
Merged
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: 1 addition & 1 deletion cli/src/worker/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
// Add a remote.log entry if one does not exist
let remoteLog = ""
const newRemoteLog =
`${uuid} autoenable=true name=OpenNeuro type=external externaltype=openneuro encryption=none url=${context.repoEndpoint}\n`
`${uuid} autoenable=true name=openneuro type=external externaltype=openneuro encryption=none url=${context.repoEndpoint}\n`

Check warning on line 221 in cli/src/worker/git.ts

View check run for this annotation

Codecov / codecov/patch

cli/src/worker/git.ts#L221

Added line #L221 was not covered by tests
try {
remoteLog = await context.fs.promises.readFile(
join(context.repoPath, "remote.log"),
Expand Down
Loading