We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70f35ed commit 2e77ccfCopy full SHA for 2e77ccf
1 file changed
Sources/Generator/Generator.swift
@@ -27,7 +27,7 @@ public struct Generator {
27
let project = ProjectMaker().makeProject(from: xcodeProj)
28
29
console.log("🧜 Generating graph in Mermaid syntax ...")
30
- let text = MermaidFormatter().format(
+ let mermaidMarkdown = MermaidFormatter().format(
31
with: project,
32
mermaidTheme: mermaidTheme,
33
syntaxType: .init(
@@ -43,12 +43,12 @@ public struct Generator {
43
44
console.log("📄 Starting to create file at \(Path(outputFilePath).absolute()) ...")
45
if !dryRun {
46
- try FileOutputClient.live.write(text, Path(outputFilePath).url)
+ try FileOutputClient.live.write(mermaidMarkdown, Path(outputFilePath).url)
47
}
48
49
console.log("✅ Created")
50
51
- console.log(text)
+ console.log(mermaidMarkdown)
52
53
54
public init() {}
0 commit comments