Merge pull request #1555 from balena-io/american-british

meta: Americanize all spellings
This commit is contained in:
Paulo Castro 2020-01-13 19:18:22 -05:00 committed by GitHub
commit 75044030cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 11 additions and 11 deletions

View File

@ -719,7 +719,7 @@ used alongside the --device option to select a device-specific service or
configuration variable. configuration variable.
Interactive confirmation is normally asked before the variable is deleted. Interactive confirmation is normally asked before the variable is deleted.
The --yes option disables this behaviour. The --yes option disables this behavior.
Examples: Examples:
@ -1642,7 +1642,7 @@ flags can be used together.
When pushing to a local device a live session will be started. When pushing to a local device a live session will be started.
The project source folder is watched for filesystem events, and changes The project source folder is watched for filesystem events, and changes
to files and folders are automatically synchronized to the running to files and folders are automatically synchronized to the running
containers. The synchronisation is only in one direction, from this machine to containers. The synchronization is only in one direction, from this machine to
the device, and changes made on the device itself may be overwritten. the device, and changes made on the device itself may be overwritten.
This feature requires a device running supervisor version v9.7.0 or greater. This feature requires a device running supervisor version v9.7.0 or greater.
@ -1709,7 +1709,7 @@ file from the balena directory will be used (usually $HOME/.balena/secrets.yml|.
#### --nolive #### --nolive
Don't run a live session on this push. The filesystem will not be monitored, and changes Don't run a live session on this push. The filesystem will not be monitored, and changes
will not be synchronised to any running containers. Note that both this flag and --detached will not be synchronized to any running containers. Note that both this flag and --detached
and required to cause the process to end once the initial build has completed. and required to cause the process to end once the initial build has completed.
#### --detached, -d #### --detached, -d

View File

@ -44,7 +44,7 @@ export default class EnvRmCmd extends Command {
${ec.rmRenameHelp.split('\n').join('\n\t\t')} ${ec.rmRenameHelp.split('\n').join('\n\t\t')}
Interactive confirmation is normally asked before the variable is deleted. Interactive confirmation is normally asked before the variable is deleted.
The --yes option disables this behaviour. The --yes option disables this behavior.
`; `;
public static examples = [ public static examples = [
'$ balena env rm 123123', '$ balena env rm 123123',

View File

@ -111,7 +111,7 @@ offerToDisableAutomaticUpdates = (application, commit, pinDevice) ->
message = ''' message = '''
This application is set to automatically update all devices to the current version. This application is set to automatically update all devices to the current version.
This might be unexpected behaviour: with this enabled, the preloaded device will still This might be unexpected behavior: with this enabled, the preloaded device will still
download and install the current release once it is online. download and install the current release once it is online.
Do you want to disable automatic updates for this application? Do you want to disable automatic updates for this application?

View File

@ -142,7 +142,7 @@ export const push: CommandDefinition<
When pushing to a local device a live session will be started. When pushing to a local device a live session will be started.
The project source folder is watched for filesystem events, and changes The project source folder is watched for filesystem events, and changes
to files and folders are automatically synchronized to the running to files and folders are automatically synchronized to the running
containers. The synchronisation is only in one direction, from this machine to containers. The synchronization is only in one direction, from this machine to
the device, and changes made on the device itself may be overwritten. the device, and changes made on the device itself may be overwritten.
This feature requires a device running supervisor version v9.7.0 or greater. This feature requires a device running supervisor version v9.7.0 or greater.
@ -203,7 +203,7 @@ export const push: CommandDefinition<
boolean: true, boolean: true,
description: stripIndent` description: stripIndent`
Don't run a live session on this push. The filesystem will not be monitored, and changes Don't run a live session on this push. The filesystem will not be monitored, and changes
will not be synchronised to any running containers. Note that both this flag and --detached will not be synchronized to any running containers. Note that both this flag and --detached
and required to cause the process to end once the initial build has completed.`, and required to cause the process to end once the initial build has completed.`,
}, },
{ {

View File

@ -48,7 +48,7 @@ function checkNodeVersion() {
Warning: Node version "${ Warning: Node version "${
process.version process.version
}" does not match required versions "${validNodeVersions}". }" does not match required versions "${validNodeVersions}".
This may cause unexpected behaviour. To upgrade Node, visit: This may cause unexpected behavior. To upgrade Node, visit:
https://nodejs.org/en/download/ https://nodejs.org/en/download/
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
`); `);

View File

@ -19,7 +19,7 @@ import { stripIndent } from 'common-tags';
import { exitWithExpectedError } from './utils/patterns'; import { exitWithExpectedError } from './utils/patterns';
export interface AppOptions { export interface AppOptions {
// Prevent the default behaviour of flushing stdout after running a command // Prevent the default behavior of flushing stdout after running a command
noFlush?: boolean; noFlush?: boolean;
} }

View File

@ -47,7 +47,7 @@ export class BalenaAPIMock {
this.scope.done(); this.scope.done();
// Remove 'no match' handler, for tests using nock without this module // Remove 'no match' handler, for tests using nock without this module
nock.emitter.removeListener('no match', this.handleUnexpectedRequest); nock.emitter.removeListener('no match', this.handleUnexpectedRequest);
// Restore unmocked behaviour // Restore unmocked behavior
nock.cleanAll(); nock.cleanAll();
nock.restore(); nock.restore();
} }

View File

@ -5,7 +5,7 @@ import { FileIgnorer, IgnoreFileType } from '../../build/utils/ignore';
// Note that brack notation is used intentionally when accessing private members // Note that brack notation is used intentionally when accessing private members
// of the FileIgnorer class to prevent a Typescript compilation error (this // of the FileIgnorer class to prevent a Typescript compilation error (this
// behaviour is by design: see // behavior is by design: see
// https://github.com/microsoft/TypeScript/issues/19335 ) // https://github.com/microsoft/TypeScript/issues/19335 )
describe('File ignorer', function() { describe('File ignorer', function() {
it('should detect ignore files', function() { it('should detect ignore files', function() {