mirror of
https://github.com/actions/checkout.git
synced 2025-04-23 00:16:35 +02:00
update dev dependencies and react to new linting rules (#611)
This commit is contained in:
parent
c49af7ca1f
commit
eb8a193c1d
16 changed files with 14807 additions and 4534 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue