Skip to content

Commit 2e77ccf

Browse files
committed
Rename
1 parent 70f35ed commit 2e77ccf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Sources/Generator/Generator.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public struct Generator {
2727
let project = ProjectMaker().makeProject(from: xcodeProj)
2828

2929
console.log("🧜 Generating graph in Mermaid syntax ...")
30-
let text = MermaidFormatter().format(
30+
let mermaidMarkdown = MermaidFormatter().format(
3131
with: project,
3232
mermaidTheme: mermaidTheme,
3333
syntaxType: .init(
@@ -43,12 +43,12 @@ public struct Generator {
4343

4444
console.log("📄 Starting to create file at \(Path(outputFilePath).absolute()) ...")
4545
if !dryRun {
46-
try FileOutputClient.live.write(text, Path(outputFilePath).url)
46+
try FileOutputClient.live.write(mermaidMarkdown, Path(outputFilePath).url)
4747
}
4848

4949
console.log("✅ Created")
5050

51-
console.log(text)
51+
console.log(mermaidMarkdown)
5252
}
5353

5454
public init() {}

0 commit comments

Comments
 (0)