mirror of
https://github.com/actions/checkout.git
synced 2025-07-13 20:50:45 +00:00
chore: upgrade Prettier to v2 and run on full repo
This commit is contained in:
parent
1f9a0c22da
commit
2f7f8896e5
27 changed files with 247 additions and 211 deletions
|
@ -12,8 +12,8 @@ function updateUsage(
|
|||
actionReference: string,
|
||||
actionYamlPath = 'action.yml',
|
||||
readmePath = 'README.md',
|
||||
startToken = '<!-- start usage -->',
|
||||
endToken = '<!-- end usage -->'
|
||||
startToken = '<!-- start usage -->\n',
|
||||
endToken = '\n<!-- 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