Skip to content

Commit cb9e31f

Browse files
committed
1 parent e1db6ab commit cb9e31f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Sources/swift-dependency-graph-lib/PackageLoader.swift

+3-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ class PackageLoader {
3434
packageNames = try httpLoader.getBody(url: url)
3535
.flatMapThrowing { (buffer) throws -> [String] in
3636
let data = Data(buffer)
37-
let names = try JSONSerialization.jsonObject(with: data, options: []) as? [String] ?? []
37+
var names = try JSONSerialization.jsonObject(with: data, options: []) as? [String] ?? []
38+
// append self to the list
39+
names.append("https://github.com/adam-fowler/swift-dependency-graph.git")
3840
return names
3941
}.wait()
4042
} else {

dependencies.json

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)