mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
@@ -1,4 +1,5 @@
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
|
||||
function getDiffPercents(main, current) {
|
||||
let diff = -1 * (100 - current / (main / 100));
|
||||
@@ -40,7 +41,7 @@ exports.script = async function (github, context, test_name) {
|
||||
|
||||
// 2. Read the main results
|
||||
const results_main = JSON.parse(
|
||||
fs.readFileSync(test_name + "-main.json")
|
||||
fs.readFileSync(path.join("main", test_name + ".json"))
|
||||
).end;
|
||||
|
||||
let output = "";
|
||||
|
||||
Reference in New Issue
Block a user