update dev dependencies and react to new linting rules (#611)

This commit is contained in:
eric sciple
2021-10-19 09:52:57 -05:00
committed by GitHub
parent c49af7ca1f
commit eb8a193c1d
16 changed files with 14807 additions and 4534 deletions

View File

@ -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')