Skip to content

Commit bc09458

Browse files
authored
Fix missing comment in generated file warning (#9)
1 parent 330dd9e commit bc09458

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Checkout repo
6262
uses: actions/checkout@v2
6363
- name: Update CODEOWNERS file
64-
uses: gmolau/codeowners@v0.1.3
64+
uses: gmolau/codeowners@v0.1.4
6565
- name: Commit CODEOWNERS file
6666
uses: EndBug/add-and-commit@v7
6767
with:

lib.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const (
1717
codeownersFileName = "CODEOWNERS"
1818
codeownersCommentPrefix = "#"
1919
generatedFileName = ".github/CODEOWNERS"
20-
generatedFileWarning = "# GENERATED FILE, DO NOT EDIT!\n\nFile generated by https://github.com/gmolau/codeowners"
20+
generatedFileWarning = "# GENERATED FILE, DO NOT EDIT!\n\n# File generated by https://github.com/gmolau/codeowners"
2121
)
2222

2323
// validateRoot takes a path and constructs a root from it. The path will be resolved to a clean,

0 commit comments

Comments
 (0)