Skip to content

Commit 19fee87

Browse files
croakywarp-agent
andcommitted
go: upgrade doublestar to v4.9.1
keep glob pattern matching dependency up to date Co-Authored-By: Warp <agent@warp.dev>
1 parent dc8cacb commit 19fee87

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module github.com/croaky/mdembed
22

33
go 1.25
44

5-
require github.com/bmatcuk/doublestar/v4 v4.8.1
5+
require github.com/bmatcuk/doublestar/v4 v4.9.1

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
github.com/bmatcuk/doublestar/v4 v4.8.1 h1:54Bopc5c2cAvhLRAzqOGCYHYyhcDHsFF4wWIR5wKP38=
22
github.com/bmatcuk/doublestar/v4 v4.8.1/go.mod h1:xBQ8jztBU6kakFMg+8WGxn0c6z1fTSPVIjEY1Wr7jzc=
3+
github.com/bmatcuk/doublestar/v4 v4.9.1 h1:X8jg9rRZmJd4yRy7ZeNDRnM+T3ZfHv15JiBJ/avrEXE=
4+
github.com/bmatcuk/doublestar/v4 v4.9.1/go.mod h1:xBQ8jztBU6kakFMg+8WGxn0c6z1fTSPVIjEY1Wr7jzc=

main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ func processEmbed(lines []string, output io.Writer, state *ProcessState) error {
190190
}
191191
fileContent := string(content)
192192

193-
if err := processFile(filename, blockName, fileContent, output, state); err != nil {
194-
return err
195-
}
193+
if err := processFile(filename, blockName, fileContent, output, state); err != nil {
194+
return err
195+
}
196196

197197
// Add newline between multiple code blocks
198198
if j < len(matches)-1 {

0 commit comments

Comments
 (0)