mirror of
https://github.com/actions/checkout.git
synced 2026-09-30 16:48:55 +00:00
update dev dependencies and react to new linting rules (#611)
This commit is contained in:
1 parent
c49af7ca1f
commit
eb8a193c1d
16 files changed
+14807
-4534
No files matched your search
@@ -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