From a56a656ef3b5987609a460e344f615c962f1a290 Mon Sep 17 00:00:00 2001 From: ns212 Date: Fri, 21 Jun 2024 09:25:58 +0000 Subject: [PATCH] sdk: process env vars prefixed by RELAY_ Ref.: https://yargs.js.org/docs/#api-reference-envprefix --- sdk/src/scripts/relay-retarget.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/src/scripts/relay-retarget.ts b/sdk/src/scripts/relay-retarget.ts index 854faa49..0ad497a4 100644 --- a/sdk/src/scripts/relay-retarget.ts +++ b/sdk/src/scripts/relay-retarget.ts @@ -4,6 +4,7 @@ import { hideBin } from "yargs/helpers"; import { exec } from "node:child_process"; const args = yargs(hideBin(process.argv)) + .env('RELAY') .option("private-key", { description: "Private key to submit with", type: "string",