diff --git a/README.md b/README.md index ade0b6f..2ad866a 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ try { core.debug('Inside try block'); if (!myInput) { - core.warning('myInput wasnt set'); + core.warning('myInput was not set'); } // Do stuff diff --git a/__tests__/lib.test.ts b/__tests__/lib.test.ts index 43ee4a8..48ea14b 100644 --- a/__tests__/lib.test.ts +++ b/__tests__/lib.test.ts @@ -16,7 +16,7 @@ const testEnvVars = { // Set inputs INPUT_MY_INPUT: 'val', INPUT_MISSING: '', - 'INPUT_SPECIAL_CHARS_\'\t"\\': '\'\t"\\ repsonse ' + 'INPUT_SPECIAL_CHARS_\'\t"\\': '\'\t"\\ response ' } describe('@actions/core', () => { @@ -101,7 +101,7 @@ describe('@actions/core', () => { ) }) - it('getInput doesnt throw on missing non-required input', () => { + it('getInput does not throw on missing non-required input', () => { expect(core.getInput('missing', {required: false})).toBe('') }) @@ -110,7 +110,7 @@ describe('@actions/core', () => { }) it('getInput handles special characters', () => { - expect(core.getInput('special chars_\'\t"\\')).toBe('\'\t"\\ repsonse') + expect(core.getInput('special chars_\'\t"\\')).toBe('\'\t"\\ response') }) it('setOutput produces the correct command', () => { diff --git a/src/command.ts b/src/command.ts index 73c27ae..c3cb705 100644 --- a/src/command.ts +++ b/src/command.ts @@ -14,7 +14,7 @@ interface CommandProperties { * * Examples: * ##[warning]This is the user warning message - * ##[set-secret name=mypassword]definatelyNotAPassword! + * ##[set-secret name=mypassword]definitelyNotAPassword! */ export function issueCommand( command: string,