Skip to content
This repository was archived by the owner on Jun 16, 2022. It is now read-only.

Commit a4fe75d

Browse files
authored
The quote parsing seems borked
1 parent 50feb18 commit a4fe75d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const detector = {
2323
// to build the build target It does not provide association between the
2424
// dependencies (i.e. which dependencies depend on which)
2525
// eslint-disable-next-line quotes
26-
const goListDependencies = `go list -deps -f '{{define \\"M\\"}}{{.Path}}@{{.Version}}{{end}}{{with .Module}}{{if not .Main}}{{if .Replace}}{{template \\"M\\" .Replace}}{{else}}{{template \\"M\\" .}}{{end}}{{end}}{{end}}'`
26+
const goListDependencies = `go list -deps -f '{{define \"M\\"}}{{.Path}}@{{.Version}}{{end}}{{with .Module}}{{if not .Main}}{{if .Replace}}{{template \\"M\\" .Replace}}{{else}}{{template \\"M\\" .}}{{end}}{{end}}{{end}}'`
2727

2828
// Enumerate directories
2929
async function detect () {

0 commit comments

Comments
 (0)