Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: all-contributors/cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.20.3
Choose a base ref
...
head repository: all-contributors/cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.20.4
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Sep 8, 2022

  1. fix: incorrect usage of tbody (#311)

    Chad Dougherty authored Sep 8, 2022
    Copy the full SHA
    531b7e1 View commit details
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/generate/__tests__/__snapshots__/index.js.snap
  2. +1 −1 src/generate/index.js
4 changes: 2 additions & 2 deletions src/generate/__tests__/__snapshots__/index.js.snap
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ These people contributed to the project:
<td align=\\"center\\">Divjot Singh is awesome!</td>
<td align=\\"center\\">Jeroen Engels is awesome!</td>
</tr>
</tobdy>
</tbody>
</table>
<!-- markdownlint-restore -->
@@ -51,7 +51,7 @@ These people contributed to the project:
<td align=\\"center\\">Kent C. Dodds is awesome!</td>
<td align=\\"center\\">Kent C. Dodds is awesome!</td>
</tr>
</tobdy>
</tbody>
</table>
<!-- markdownlint-restore -->
2 changes: 1 addition & 1 deletion src/generate/index.js
Original file line number Diff line number Diff line change
@@ -58,7 +58,7 @@ function generateContributorsList(options, contributors) {
_.map(formatLine),
_.join('\n </tr>\n <tr>\n '),
newContent => {
return `\n<table>\n <tbody>\n <tr>\n ${newContent}\n </tr>\n </tobdy>\n</table>\n\n`
return `\n<table>\n <tbody>\n <tr>\n ${newContent}\n </tr>\n </tbody>\n</table>\n\n`
},
)(contributors)
}