Don't care about extra-conf

This commit is contained in:
Ana Hobden 2024-02-13 11:45:21 -08:00
parent 232a98572b
commit 04d5b7e811
2 changed files with 0 additions and 13 deletions

5
dist/index.js generated vendored
View file

@ -12279,11 +12279,6 @@ async function flakehub_login(netrc) {
`machine flakehub.com login flakehub password ${jwt}`, `machine flakehub.com login flakehub password ${jwt}`,
].join("\n")); ].join("\n"));
coreExports.info("Logged in to FlakeHub."); 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() { async function tearDownAutoCache() {
const daemonDir = process.env[ENV_CACHE_DAEMONDIR]; const daemonDir = process.env[ENV_CACHE_DAEMONDIR];

View file

@ -229,14 +229,6 @@ async function flakehub_login(netrc: string) {
); );
core.info("Logged in to FlakeHub."); 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() { async function tearDownAutoCache() {