Skip to content

Commit 70f35ed

Browse files
committed
Output to console regardless of dryRun settings.
1 parent 1945209 commit 70f35ed

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
@@ -42,13 +42,13 @@ public struct Generator {
4242
)
4343

4444
console.log("📄 Starting to create file at \(Path(outputFilePath).absolute()) ...")
45-
if dryRun {
46-
console.log(text)
47-
} else {
45+
if !dryRun {
4846
try FileOutputClient.live.write(text, Path(outputFilePath).url)
4947
}
5048

5149
console.log("✅ Created")
50+
51+
console.log(text)
5252
}
5353

5454
public init() {}

0 commit comments

Comments
 (0)