Skip to content

Commit 68ca848

Browse files
authored
docs: update contributing guidelines (#396)
* docs: update contributing guidelines * chore(lint): remove nil check on []string
1 parent 24258b8 commit 68ca848

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,12 @@ the stylesheet-based Markdown renderer.
734734

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

737+
## Contributing
738+
739+
See [contributing][contribute].
740+
741+
[contribute]: https://github.com/charmbracelet/lipgloss/contribute
742+
737743
## Feedback
738744

739745
We’d love to hear your thoughts on this project. Feel free to drop us a note!

table/table.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ func (t *Table) constructRows(availableLines int) string {
532532
func (t *Table) constructRow(index int, isOverflow bool) string {
533533
var s strings.Builder
534534

535-
hasHeaders := t.headers != nil && len(t.headers) > 0
535+
hasHeaders := len(t.headers) > 0
536536
height := t.heights[index+btoi(hasHeaders)]
537537
if isOverflow {
538538
height = 1

0 commit comments

Comments
 (0)