Skip to content

Commit

Permalink
docs: update contributing guidelines (#396)
Browse files Browse the repository at this point in the history
* docs: update contributing guidelines

* chore(lint): remove nil check on []string
  • Loading branch information
bashbunni authored Oct 18, 2024
1 parent 24258b8 commit 68ca848
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,12 @@ the stylesheet-based Markdown renderer.

[glamour]: https://github.com/charmbracelet/glamour

## Contributing

See [contributing][contribute].

[contribute]: https://github.com/charmbracelet/lipgloss/contribute

## Feedback

We’d love to hear your thoughts on this project. Feel free to drop us a note!
Expand Down
2 changes: 1 addition & 1 deletion table/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ func (t *Table) constructRows(availableLines int) string {
func (t *Table) constructRow(index int, isOverflow bool) string {
var s strings.Builder

hasHeaders := t.headers != nil && len(t.headers) > 0
hasHeaders := len(t.headers) > 0
height := t.heights[index+btoi(hasHeaders)]
if isOverflow {
height = 1
Expand Down

0 comments on commit 68ca848

Please sign in to comment.