From 6942ec517665df23394fceb64d4fc736a1bdc76c Mon Sep 17 00:00:00 2001 From: NVMakarenko Date: Sun, 1 Dec 2024 21:58:02 +0200 Subject: [PATCH] remove redindant code --- .github/workflows/scan_unlighthouse.yml | 6 +++--- bin/convert_json_to_csv.rb | 6 ------ 2 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 bin/convert_json_to_csv.rb diff --git a/.github/workflows/scan_unlighthouse.yml b/.github/workflows/scan_unlighthouse.yml index 963df8e4c..52166564f 100644 --- a/.github/workflows/scan_unlighthouse.yml +++ b/.github/workflows/scan_unlighthouse.yml @@ -24,7 +24,7 @@ jobs: - name: Convert JSON to CSV run: | - ruby -e "require './lib/convert_json_to_csv_service'; ConvertJsonToCsvService.call('.unlighthouse/dist/ci-result.json', '.unlighthouse/dist/ci-result.csv')" + ruby -e "require './lib/convert_json_to_csv_service'; ConvertJsonToCsvService.call('.unlighthouse/dist/ci-result.json', '.unlighthouse/ci-result.csv')" - name: Upload Unlighthouse Report uses: actions/upload-artifact@v4 @@ -32,8 +32,8 @@ jobs: name: unlighthouse-report path: .unlighthouse/dist/** - - name: Upload СCSV Report + - name: Upload CSV Report uses: actions/upload-artifact@v4 with: name: csv-report - path: .unlighthouse/dist/ci-result.csv + path: .unlighthouse/ci-result.csv diff --git a/bin/convert_json_to_csv.rb b/bin/convert_json_to_csv.rb deleted file mode 100644 index e244899ce..000000000 --- a/bin/convert_json_to_csv.rb +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env ruby -require_relative "../lib/convert_json_to_csv" - -input_file = ARGV[0] -output_file = ARGV[1] -ConvertJsonToCsv.perform(input_file, output_file)