From f9a157c9ecfd8ea37a4ed3a5f123db9ec6828fdd Mon Sep 17 00:00:00 2001 From: Matthew McGinn Date: Wed, 17 Mar 2021 14:26:46 -0400 Subject: [PATCH] typos: seperate -> separate mainly to get the docs one, but figured i could hit them all Change-type: patch Signed-off-by: Matthew McGinn --- docs/API.md | 2 +- src/compose/service.ts | 2 +- src/compose/utils.ts | 2 +- src/config/backends/extra-uEnv.ts | 2 +- src/device-api/common.js | 2 +- sync/sync.ts | 4 ++-- test/data/mnt/boot/config.txt | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/API.md b/docs/API.md index 70005145..310dc9ec 100644 --- a/docs/API.md +++ b/docs/API.md @@ -330,7 +330,7 @@ The state is a JSON object that contains some or all of the following: * `api_port`: Port on which the supervisor is listening. * `commit`: Hash of the current commit of the application that is running. * `ip_address`: Space-separated list of IP addresses of the device. -* `mac_address`: Space-seperated list of MAC addresses of the device. +* `mac_address`: Space-separated list of MAC addresses of the device. * `status`: Status of the device regarding the app, as a string, i.e. "Stopping", "Starting", "Downloading", "Installing", "Idle". * `download_progress`: Amount of the application image that has been downloaded, expressed as a percentage. If the update has already been downloaded, this will be `null`. * `os_version`: Version of the host OS running on the device. diff --git a/src/compose/service.ts b/src/compose/service.ts index 6c0325f9..e4a8d68a 100644 --- a/src/compose/service.ts +++ b/src/compose/service.ts @@ -116,7 +116,7 @@ export class Service { throw new InternalInconsistencyError('Malformed app id for service'); } - // Seperate the application information from the docker + // Separate the application information from the docker // container configuration service.imageId = parseInt(appConfig.imageId, 10); delete appConfig.imageId; diff --git a/src/compose/utils.ts b/src/compose/utils.ts index 42b71db0..f188f781 100644 --- a/src/compose/utils.ts +++ b/src/compose/utils.ts @@ -164,7 +164,7 @@ export function getStopSignal( return _.get(imageInfo, 'Config.StopSignal', 'SIGTERM'); } -// TODO: Move healthcheck stuff into seperate module +// TODO: Move healthcheck stuff into separate module export function dockerHealthcheckToServiceHealthcheck( healthcheck?: Dockerode.DockerHealthcheck, ): ServiceHealthcheck { diff --git a/src/config/backends/extra-uEnv.ts b/src/config/backends/extra-uEnv.ts index 35558dc9..38d48f76 100644 --- a/src/config/backends/extra-uEnv.ts +++ b/src/config/backends/extra-uEnv.ts @@ -14,7 +14,7 @@ import { ExtraUEnvError } from '../../lib/errors'; /** * Entry describes the configurable items in an extra_uEnv file * - * @collection - This describes if the value can be a list of items seperated by space character. + * @collection - This describes if the value can be a list of items separated by space character. * */ diff --git a/src/device-api/common.js b/src/device-api/common.js index 7aa9437a..44b9367d 100644 --- a/src/device-api/common.js +++ b/src/device-api/common.js @@ -166,7 +166,7 @@ export function safeAppClone(app) { // here as when passing it back as target state, the service class cannot // know that the alias being given is not in fact a user given one. // TODO: Make the process of moving from a current state to a target state - // well-defined (and implemented in a seperate module) + // well-defined (and implemented in a separate module) const svcCopy = _.cloneDeep(svc); _.each(svcCopy.config.networks, (net) => { diff --git a/sync/sync.ts b/sync/sync.ts index 41429f1e..b56d0689 100644 --- a/sync/sync.ts +++ b/sync/sync.ts @@ -20,7 +20,7 @@ const argv = yargs .command( '$0 ', 'Sync changes in code to a running debug mode supervisor on a local device', - y => + (y) => y.positional('device-address', { type: 'string', describe: 'The address of a local device', @@ -70,7 +70,7 @@ const argv = yargs arch: argv['device-arch'], nocache: argv['nocache'], }); - // Another newline to seperate build and livepush output + // Another newline to separate build and livepush output console.log(`Supervisor container: ${containerId}\n`); await setupLogs(docker, containerId); diff --git a/test/data/mnt/boot/config.txt b/test/data/mnt/boot/config.txt index 2b87a131..fd0f7591 100644 --- a/test/data/mnt/boot/config.txt +++ b/test/data/mnt/boot/config.txt @@ -440,7 +440,7 @@ ## Hardware decoding of additional codecs can be enabled by purchasing a ## license that is locked to the CPU serial number of your Raspberry Pi. ## -## Up to 8 licenses per CODEC can be specified as a comma seperated list. +## Up to 8 licenses per CODEC can be specified as a comma separated list. ## ################################################################################ @@ -1191,4 +1191,4 @@ dtparam=i2c_arm=on dtparam=spi=on disable_splash=1 avoid_warnings=1 -dtparam=audio=on \ No newline at end of file +dtparam=audio=on