Spelling (#72)
* spelling: check in * spelling: compatibility * spelling: definitely * spelling: does not * spelling: maintaining * spelling: nonexistent * spelling: precede * spelling: response * spelling: was not
This commit is contained in:
1 parent
55584e1b8d
commit
903a3321ea
3 files changed
+5
-5
No files matched your search
@@ -70,7 +70,7 @@ try {
|
|||||||
core.debug('Inside try block');
|
core.debug('Inside try block');
|
||||||
|
|
||||||
if (!myInput) {
|
if (!myInput) {
|
||||||
core.warning('myInput wasnt set');
|
core.warning('myInput was not set');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Do stuff
|
// Do stuff
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ const testEnvVars = {
|
|||||||
// Set inputs
|
// Set inputs
|
||||||
INPUT_MY_INPUT: 'val',
|
INPUT_MY_INPUT: 'val',
|
||||||
INPUT_MISSING: '',
|
INPUT_MISSING: '',
|
||||||
'INPUT_SPECIAL_CHARS_\'\t"\\': '\'\t"\\ repsonse '
|
'INPUT_SPECIAL_CHARS_\'\t"\\': '\'\t"\\ response '
|
||||||
}
|
}
|
||||||
|
|
||||||
describe('@actions/core', () => {
|
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('')
|
expect(core.getInput('missing', {required: false})).toBe('')
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -110,7 +110,7 @@ describe('@actions/core', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
it('getInput handles special characters', () => {
|
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', () => {
|
it('setOutput produces the correct command', () => {
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@ interface CommandProperties {
|
|||||||
*
|
*
|
||||||
* Examples:
|
* Examples:
|
||||||
* ##[warning]This is the user warning message
|
* ##[warning]This is the user warning message
|
||||||
* ##[set-secret name=mypassword]definatelyNotAPassword!
|
* ##[set-secret name=mypassword]definitelyNotAPassword!
|
||||||
*/
|
*/
|
||||||
export function issueCommand(
|
export function issueCommand(
|
||||||
command: string,
|
command: string,
|
||||||
|
|||||||
Reference in new issue
Block a user