This PR corrects misspellings identified by the [check-spelling
action](https://github.com/marketplace/actions/check-spelling)

The misspellings have been reported at
https://github.com/jsoref/container/actions/runs/15662939575/attempts/1
The action reports that the changes in this PR would make it happy:
https://github.com/jsoref/container/actions/runs/15662939742/attempts/1#summary-44123289718

---------

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2025-06-16 13:49:03 -04:00
committed by GitHub
parent 4d6f7037f3
commit 4a4ad40d74
8 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ all: init-block
.PHONY: build
build:
@echo Building container binaries...
@#Remove this when the updated MacOS SDK is available publicly
@#Remove this when the updated macOS SDK is available publicly
$(SWIFT) build -c $(BUILD_CONFIGURATION) $(CURRENT_SDK_ARGS) ; \
.PHONY: container
+3 -3
View File
@@ -182,9 +182,9 @@ struct APIServer: AsyncParsableCommand {
private func initializeKernelService(log: Logger, routes: inout [XPCRoute: XPCServer.RouteHandler]) throws {
let svc = try KernelService(log: log, appRoot: Self.appRoot)
let harnsess = KernelHarness(service: svc, log: log)
routes[XPCRoute.installKernel] = harnsess.install
routes[XPCRoute.getDefaultKernel] = harnsess.getDefaultKernel
let harness = KernelHarness(service: svc, log: log)
routes[XPCRoute.installKernel] = harness.install
routes[XPCRoute.getDefaultKernel] = harness.getDefaultKernel
}
private func initializeContainerService(root: URL, pluginLoader: PluginLoader, log: Logger, routes: inout [XPCRoute: XPCServer.RouteHandler]) throws {
+1 -1
View File
@@ -294,7 +294,7 @@ extension Application {
versionDetails["build"] = "debug"
#endif
#if CURRENT_SDK
versionDetails["sdk"] = "MacOS 15"
versionDetails["sdk"] = "macOS 15"
#endif
let gitCommit = {
let sha = get_git_commit().map { String(cString: $0) }
+2 -2
View File
@@ -61,8 +61,8 @@ extension Application {
containers = ctrs.filter { c in
set.contains(c.id)
}
// If one of the containers requested isn't present lets throw. We don't need to do
// this for --all as --all should be perfectly usable with no containers to remove, otherwise
// If one of the containers requested isn't present, let's throw. We don't need to do
// this for --all as --all should be perfectly usable with no containers to remove; otherwise,
// it'd be quite clunky.
if containers.count != set.count {
let missing = set.filter { id in
@@ -99,7 +99,7 @@ extension ClientImage {
public static func normalizeReference(_ ref: String) throws -> String {
guard ref != Self.initImageRef else {
// Don't modify the the default init image reference.
// Don't modify the default init image reference.
// This is to allow for easier local development against
// an updated containerization.
return ref
+2 -2
View File
@@ -169,7 +169,7 @@ extension PluginLoader {
instanceId: String? = nil
) throws {
// We only care about loading plugins that have a service
// to expose, otherwise they may just be CLI commands.
// to expose; otherwise, they may just be CLI commands.
guard let serviceConfig = plugin.config.servicesConfig else {
return
}
@@ -201,7 +201,7 @@ extension PluginLoader {
public func deregisterWithLaunchd(plugin: Plugin, instanceId: String? = nil) throws {
// We only care about loading plugins that have a service
// to expose, otherwise they may just be CLI commands.
// to expose; otherwise, they may just be CLI commands.
guard plugin.config.servicesConfig != nil else {
return
}
@@ -64,7 +64,7 @@ extension ProgressBar {
var finished = true
var defined = false
if let totalTasks = state.totalTasks, totalTasks > 0 {
// For tasks, we're showing the current task rather then the number of completed tasks.
// For tasks, we're showing the current task rather than the number of completed tasks.
finished = finished && state.tasks == totalTasks
defined = true
}
@@ -27,7 +27,7 @@ public struct ProgressConfig: Sendable {
/// The initial items name (e.g., "files").
let initialItemsName: String
/// A flag indicating whether to show a spinner (e.g., "").
/// The spinner is hidden when when a progress bar is shown.
/// The spinner is hidden when a progress bar is shown.
public let showSpinner: Bool
/// A flag indicating whether to show tasks and total tasks (e.g., "[1]" or "[1/3]").
public let showTasks: Bool