mirror of
https://github.com/actions/checkout.git
synced 2025-06-17 11:39:20 +00:00
update dev dependencies and react to new linting rules (#611)
This commit is contained in:
@ -10,10 +10,10 @@ import * as yaml from 'js-yaml'
|
||||
|
||||
function updateUsage(
|
||||
actionReference: string,
|
||||
actionYamlPath: string = 'action.yml',
|
||||
readmePath: string = 'README.md',
|
||||
startToken: string = '<!-- start usage -->',
|
||||
endToken: string = '<!-- end usage -->'
|
||||
actionYamlPath = 'action.yml',
|
||||
readmePath = 'README.md',
|
||||
startToken = '<!-- start usage -->',
|
||||
endToken = '<!-- end usage -->'
|
||||
): void {
|
||||
if (!actionReference) {
|
||||
throw new Error('Parameter actionReference must not be empty')
|
||||
|
Reference in New Issue
Block a user