Skip to content

Commit 44cf392

Browse files
And we shall receive even more debug logs
1 parent 1b43aea commit 44cf392

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/publish-npm.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,12 @@ const publishPackage = ({ path, name }, shouldPublish) => {
149149
}
150150
}
151151
delete npmEnv.NODE_AUTH_TOKEN;
152+
delete npmEnv.NPM_CONFIG_USERCONFIG;
153+
delete npmEnv.npm_config_userconfig;
152154
console.log(
153155
`npm_config_workspace=${process.env.npm_config_workspace || ""} npm_config_workspaces=${process.env.npm_config_workspaces || ""}`
154156
);
157+
console.log(`NPM_CONFIG_USERCONFIG=${process.env.NPM_CONFIG_USERCONFIG || ""}`);
155158
const publishRoot = mkdtempSync(join(tmpdir(), "rescript-mui-publish-"));
156159
const tempPkgPath = join(publishRoot, path);
157160
cpSync(path, tempPkgPath, { recursive: true });

0 commit comments

Comments
 (0)