From 8389a6e6b9c9192cbf5040b37654e3ec7fb12453 Mon Sep 17 00:00:00 2001 From: Laura Armitage Date: Thu, 15 Feb 2024 11:51:53 +0000 Subject: [PATCH] GH-240 add back in new lines at end of files --- __tests__/fixtures/action/action.yml | 3 ++- __tests__/fixtures/action/action_docs_action_action.yml | 2 +- __tests__/fixtures/action/action_docs_action_readme.input | 2 +- __tests__/fixtures/action/action_docs_action_readme.output | 2 +- __tests__/fixtures/action/all_fields_action.yml | 3 ++- __tests__/fixtures/action/all_fields_readme.input.crlf | 2 +- __tests__/fixtures/action/all_fields_readme.output.crlf | 2 +- __tests__/fixtures/action/minimal_action.yml | 2 +- __tests__/fixtures/action/two_actions_readme.input | 2 +- __tests__/fixtures/action/two_actions_readme.output | 2 +- __tests__/fixtures/workflow/all_fields_readme.input | 2 +- __tests__/fixtures/workflow/all_fields_readme.output | 2 +- __tests__/fixtures/workflow/all_fields_workflow.yml | 2 +- __tests__/fixtures/workflow/minimal_workflow.yml | 2 +- __tests__/fixtures/workflow/workflow.yml | 2 +- 15 files changed, 17 insertions(+), 15 deletions(-) diff --git a/__tests__/fixtures/action/action.yml b/__tests__/fixtures/action/action.yml index 6d93d7e9..6090c80d 100644 --- a/__tests__/fixtures/action/action.yml +++ b/__tests__/fixtures/action/action.yml @@ -25,4 +25,5 @@ outputs: runs: using: "node12" - main: "dist/index.js" \ No newline at end of file + main: "dist/index.js" + \ No newline at end of file diff --git a/__tests__/fixtures/action/action_docs_action_action.yml b/__tests__/fixtures/action/action_docs_action_action.yml index e46edec5..e7e383a9 100644 --- a/__tests__/fixtures/action/action_docs_action_action.yml +++ b/__tests__/fixtures/action/action_docs_action_action.yml @@ -26,4 +26,4 @@ inputs: runs: using: "node16" - main: "dist/index.js" \ No newline at end of file + main: "dist/index.js" diff --git a/__tests__/fixtures/action/action_docs_action_readme.input b/__tests__/fixtures/action/action_docs_action_readme.input index 942654fa..b5c49f07 100644 --- a/__tests__/fixtures/action/action_docs_action_readme.input +++ b/__tests__/fixtures/action/action_docs_action_readme.input @@ -1 +1 @@ - \ No newline at end of file + diff --git a/__tests__/fixtures/action/action_docs_action_readme.output b/__tests__/fixtures/action/action_docs_action_readme.output index cdb01078..d924d3b7 100644 --- a/__tests__/fixtures/action/action_docs_action_readme.output +++ b/__tests__/fixtures/action/action_docs_action_readme.output @@ -7,4 +7,4 @@ | `actionFile` |

The action definition file.

| `false` | `action.yml` | | `tocLevel` |

TOC level used for the headers.

| `false` | `2` | | `lineBreaks` |

Line breaks to be used in updated readme (LF|CR|CRLF).

| `false` | `LF` | - \ No newline at end of file + diff --git a/__tests__/fixtures/action/all_fields_action.yml b/__tests__/fixtures/action/all_fields_action.yml index f9bfe869..c664b359 100644 --- a/__tests__/fixtures/action/all_fields_action.yml +++ b/__tests__/fixtures/action/all_fields_action.yml @@ -29,4 +29,5 @@ outputs: runs: using: "node12" - main: "dist/index.js" \ No newline at end of file + main: "dist/index.js" + \ No newline at end of file diff --git a/__tests__/fixtures/action/all_fields_readme.input.crlf b/__tests__/fixtures/action/all_fields_readme.input.crlf index 2491c1b9..f8ed910e 100644 --- a/__tests__/fixtures/action/all_fields_readme.input.crlf +++ b/__tests__/fixtures/action/all_fields_readme.input.crlf @@ -4,4 +4,4 @@ - \ No newline at end of file + diff --git a/__tests__/fixtures/action/all_fields_readme.output.crlf b/__tests__/fixtures/action/all_fields_readme.output.crlf index 20539304..e92a4cc0 100644 --- a/__tests__/fixtures/action/all_fields_readme.output.crlf +++ b/__tests__/fixtures/action/all_fields_readme.output.crlf @@ -29,4 +29,4 @@ Default test ## Runs This action is a `node12` action. - \ No newline at end of file + diff --git a/__tests__/fixtures/action/minimal_action.yml b/__tests__/fixtures/action/minimal_action.yml index 021a9048..b1f7ecf7 100644 --- a/__tests__/fixtures/action/minimal_action.yml +++ b/__tests__/fixtures/action/minimal_action.yml @@ -2,4 +2,4 @@ name: "An Action" description: "Default test" runs: using: "docker" - image: "Dockerfile" \ No newline at end of file + image: "Dockerfile" diff --git a/__tests__/fixtures/action/two_actions_readme.input b/__tests__/fixtures/action/two_actions_readme.input index 8ce9fc4c..72f32166 100644 --- a/__tests__/fixtures/action/two_actions_readme.input +++ b/__tests__/fixtures/action/two_actions_readme.input @@ -9,4 +9,4 @@ | `lineBreaks` |

Line breaks to be used in updated readme (LF|CR|CRLF).

| `false` | `LF` | - \ No newline at end of file + diff --git a/__tests__/fixtures/action/two_actions_readme.output b/__tests__/fixtures/action/two_actions_readme.output index 77b2915e..0a4ecb6e 100644 --- a/__tests__/fixtures/action/two_actions_readme.output +++ b/__tests__/fixtures/action/two_actions_readme.output @@ -16,4 +16,4 @@ | --- | --- | | `outputA` |

A description A

| | `outputB` |

A description B

| - \ No newline at end of file + diff --git a/__tests__/fixtures/workflow/all_fields_readme.input b/__tests__/fixtures/workflow/all_fields_readme.input index 47628c72..8b604b15 100644 --- a/__tests__/fixtures/workflow/all_fields_readme.input +++ b/__tests__/fixtures/workflow/all_fields_readme.input @@ -4,4 +4,4 @@ - \ No newline at end of file + diff --git a/__tests__/fixtures/workflow/all_fields_readme.output b/__tests__/fixtures/workflow/all_fields_readme.output index 9d621c2e..938d16c9 100644 --- a/__tests__/fixtures/workflow/all_fields_readme.output +++ b/__tests__/fixtures/workflow/all_fields_readme.output @@ -66,4 +66,4 @@ jobs: | --- | --- | | `outputA` |

A description A

| | `outputB` |

A description B

| - \ No newline at end of file + diff --git a/__tests__/fixtures/workflow/all_fields_workflow.yml b/__tests__/fixtures/workflow/all_fields_workflow.yml index 53f74c2f..14ceeaef 100644 --- a/__tests__/fixtures/workflow/all_fields_workflow.yml +++ b/__tests__/fixtures/workflow/all_fields_workflow.yml @@ -42,4 +42,4 @@ jobs: steps: - name: 'Step 1' id: step1 - run: echo "test=some value" >> "$GITHUB_OUTPUT" \ No newline at end of file + run: echo "test=some value" >> "$GITHUB_OUTPUT" diff --git a/__tests__/fixtures/workflow/minimal_workflow.yml b/__tests__/fixtures/workflow/minimal_workflow.yml index 4e8c390a..e1ab1399 100644 --- a/__tests__/fixtures/workflow/minimal_workflow.yml +++ b/__tests__/fixtures/workflow/minimal_workflow.yml @@ -10,4 +10,4 @@ jobs: steps: - name: 'Step 1' id: step1 - run: echo "test=some value" >> "$GITHUB_OUTPUT" \ No newline at end of file + run: echo "test=some value" >> "$GITHUB_OUTPUT" diff --git a/__tests__/fixtures/workflow/workflow.yml b/__tests__/fixtures/workflow/workflow.yml index fcd789e8..d2c9726b 100644 --- a/__tests__/fixtures/workflow/workflow.yml +++ b/__tests__/fixtures/workflow/workflow.yml @@ -37,4 +37,4 @@ jobs: steps: - name: 'Step 1' id: step1 - run: echo "test=some value" >> "$GITHUB_OUTPUT" \ No newline at end of file + run: echo "test=some value" >> "$GITHUB_OUTPUT"