Skip to content

Commit

Permalink
[DATALAD RUNCMD] run codespell throughout fixing typos automagically
Browse files Browse the repository at this point in the history
=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
  • Loading branch information
yarikoptic committed Apr 16, 2024
1 parent 8f3ded6 commit 6807e27
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pkg/container/docker_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func NewDockerNetworkRemoveExecutor(name string) common.Executor {
}
defer cli.Close()

// Make shure that all network of the specified name are removed
// Make sure that all network of the specified name are removed
// cli.NetworkRemove refuses to remove a network if there are duplicates
networks, err := cli.NetworkList(ctx, types.NetworkListOptions{})
if err != nil {
Expand Down
6 changes: 3 additions & 3 deletions pkg/runner/hashfiles/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -942,10 +942,10 @@ class Summary {
return this.addRaw(element).addEOL();
}
/**
* Adds a collapsable HTML details element to the summary buffer
* Adds a collapsible HTML details element to the summary buffer
*
* @param {string} label text for the closed state
* @param {string} content collapsable content
* @param {string} content collapsible content
*
* @returns {Summary} summary instance
*/
Expand Down Expand Up @@ -1844,7 +1844,7 @@ class Pattern {
// false for `/foo` but returns true for `/foo/`. Append a trailing slash to handle that quirk.
if (!itemPath.endsWith(path.sep)) {
// Note, this is safe because the constructor ensures the pattern has an absolute root.
// For example, formats like C: and C:foo on Windows are resolved to an aboslute root.
// For example, formats like C: and C:foo on Windows are resolved to an absolute root.
itemPath = `${itemPath}${path.sep}`;
}
}
Expand Down
4 changes: 2 additions & 2 deletions pkg/runner/run_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func getDockerDaemonSocketMountPath(daemonPath string) string {
return daemonPath
}

// Returns the binds and mounts for the container, resolving paths as appopriate
// Returns the binds and mounts for the container, resolving paths as appropriate
func (rc *RunContext) GetBindsAndMounts() ([]string, map[string]string) {
name := rc.jobContainerName()

Expand Down Expand Up @@ -1026,7 +1026,7 @@ func (rc *RunContext) handleServiceCredentials(ctx context.Context, creds map[st
return
}

// GetServiceBindsAndMounts returns the binds and mounts for the service container, resolving paths as appopriate
// GetServiceBindsAndMounts returns the binds and mounts for the service container, resolving paths as appropriate
func (rc *RunContext) GetServiceBindsAndMounts(svcVolumes []string) ([]string, map[string]string) {
if rc.Config.ContainerDaemonSocket == "" {
rc.Config.ContainerDaemonSocket = "/var/run/docker.sock"
Expand Down

0 comments on commit 6807e27

Please sign in to comment.