Skip to content

Commit

Permalink
fix: scripts after repo tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
gordsport committed Mar 5, 2024
1 parent caaaaaa commit a73d22b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/process-oracle-providers.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const path = require("path");
const toml = require("toml");
const z = require("zod");

const PROOFS_DIR = path.join(__dirname, "..", "oracle-providers");
const PROOFS_DIR = path.join(__dirname, "..", "oracle-providers/oracle-profiles");
const OUTPUT_FILE = "oracle-proofs.json";
const OUTPUT_DIR = path.join(__dirname, "..", "__generated__");

Expand Down Expand Up @@ -94,7 +94,7 @@ function run() {
const validatedData = PROVIDER_SCHEMA.parse(data);
validatedData[
"github_link"
] = `https://github.com/vegaprotocol/well-known/blob/main/oracle-providers/${file}`;
] = `https://github.com/vegaprotocol/well-known/blob/main/oracle-providers/oracle-profiles/${file}`;

// Add to array which will be written to json file
result.push(validatedData);
Expand Down

0 comments on commit a73d22b

Please sign in to comment.