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.
Interactive confirmation is normally asked before the variable is deleted.
The --yes option disables this behaviour.
The --yes option disables this behavior.
Examples:
@ -1642,7 +1642,7 @@ flags can be used together.
When pushing to a local device a live session will be started.
The project source folder is watched for filesystem events, and changes
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.
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
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.
#### --detached, -d

View File

@ -44,7 +44,7 @@ export default class EnvRmCmd extends Command {
${ec.rmRenameHelp.split('\n').join('\n\t\t')}
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 = [
'$ balena env rm 123123',

View File

@ -111,7 +111,7 @@ offerToDisableAutomaticUpdates = (application, commit, pinDevice) ->
message = '''
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.
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.
The project source folder is watched for filesystem events, and changes
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.
This feature requires a device running supervisor version v9.7.0 or greater.
@ -203,7 +203,7 @@ export const push: CommandDefinition<
boolean: true,
description: stripIndent`
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.`,
},
{

View File

@ -48,7 +48,7 @@ function checkNodeVersion() {
Warning: Node version "${
process.version
}" 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/
------------------------------------------------------------------------------
`);

View File

@ -19,7 +19,7 @@ import { stripIndent } from 'common-tags';
import { exitWithExpectedError } from './utils/patterns';
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;
}

View File

@ -47,7 +47,7 @@ export class BalenaAPIMock {
this.scope.done();
// Remove 'no match' handler, for tests using nock without this module
nock.emitter.removeListener('no match', this.handleUnexpectedRequest);
// Restore unmocked behaviour
// Restore unmocked behavior
nock.cleanAll();
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
// 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 )
describe('File ignorer', function() {
it('should detect ignore files', function() {