Skip to content

Commit 1d1f0d1

Browse files
committed
Use same name on JSON, Console and HTML reports
Skunk_report (txt,json,html)
1 parent 3612d41 commit 1d1f0d1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ To only run skunk on specific folders, pass a list of directories in the command
129129

130130
When the Skunk command is run, it will generate a JSON report file in the configured output path.
131131

132-
Skunk also writes the console report to `skunk_console.txt` under the same output path.
132+
Skunk also writes the console report to `skunk_report.txt` under the same output path.
133133

134134
### Comparing feature branches
135135

lib/skunk/generators/console_report.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def file_directory
3434
end
3535

3636
def file_pathname
37-
Pathname.new(file_directory).join("skunk_console.txt")
37+
Pathname.new(file_directory).join("skunk_report.txt")
3838
end
3939
end
4040
end

lib/skunk/generators/html/overview.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def initialize(analysed_modules)
2525
end
2626

2727
def file_name
28-
"skunk_overview.html"
28+
"skunk_report.html"
2929
end
3030

3131
def render

test/lib/skunk/generators/console_report_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def test_generate_report_calls_generator_render
191191
def test_generate_report_writes_console_file
192192
Skunk::Config.root = "tmp/console_report"
193193
begin
194-
path = File.join(Skunk::Config.root, "skunk_console.txt")
194+
path = File.join(Skunk::Config.root, "skunk_report.txt")
195195
File.delete(path) if File.exist?(path)
196196

197197
@console_report.generate_report

0 commit comments

Comments
 (0)