File: 0002-Do-not-vendor-blackfriday.patch

package info (click to toggle)
golang-step-cli-utils 0.7.5%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 404 kB
  • sloc: makefile: 19
file content (36 lines) | stat: -rw-r--r-- 925 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From: Peymaneh <peymaneh@posteo.net>
Date: Wed, 11 Aug 2021 16:45:14 +0200
Subject: Do not vendor blackfriday

Forwarded: not-needed
---
 usage/printer.go  | 2 +-
 usage/renderer.go | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/usage/printer.go b/usage/printer.go
index edd7523..595d501 100644
--- a/usage/printer.go
+++ b/usage/printer.go
@@ -10,7 +10,7 @@ import (
 	"unicode"
 
 	"github.com/urfave/cli"
-	md "go.step.sm/cli-utils/pkg/blackfriday"
+	md "github.com/russross/blackfriday/v2"
 )
 
 var sectionRe = regexp.MustCompile(`(?m:^##)`)
diff --git a/usage/renderer.go b/usage/renderer.go
index 8202f66..2ddb617 100644
--- a/usage/renderer.go
+++ b/usage/renderer.go
@@ -11,7 +11,7 @@ import (
 	"unicode"
 
 	"github.com/mgutz/ansi"
-	md "go.step.sm/cli-utils/pkg/blackfriday"
+	md "github.com/russross/blackfriday/v2"
 )
 
 // Render renders the given data with a custom markdown renderer.