From 04d5b7e8119d2b1a655f8a3b00346929a7ea033e Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Tue, 13 Feb 2024 11:45:21 -0800 Subject: [PATCH] Don't care about extra-conf --- dist/index.js | 5 ----- src/index.ts | 8 -------- 2 files changed, 13 deletions(-) diff --git a/dist/index.js b/dist/index.js index 8a0685e..62a3fac 100644 --- a/dist/index.js +++ b/dist/index.js @@ -12279,11 +12279,6 @@ async function flakehub_login(netrc) { `machine flakehub.com login flakehub password ${jwt}`, ].join("\n")); coreExports.info("Logged in to FlakeHub."); - // the join followed by a match on ^... looks silly, but extra_config - // could contain multi-line values - if (this.extra_conf?.join("\n").match(/^netrc-file/m)) { - coreExports.warning("Logging in to FlakeHub conflicts with the Nix option `netrc-file`."); - } } async function tearDownAutoCache() { const daemonDir = process.env[ENV_CACHE_DAEMONDIR]; diff --git a/src/index.ts b/src/index.ts index a861078..a2d84ea 100644 --- a/src/index.ts +++ b/src/index.ts @@ -229,14 +229,6 @@ async function flakehub_login(netrc: string) { ); core.info("Logged in to FlakeHub."); - - // the join followed by a match on ^... looks silly, but extra_config - // could contain multi-line values - if (this.extra_conf?.join("\n").match(/^netrc-file/m)) { - core.warning( - "Logging in to FlakeHub conflicts with the Nix option `netrc-file`.", - ); - } } async function tearDownAutoCache() {