Skip to content

Commit

Permalink
add debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
venetrius committed Oct 21, 2024
1 parent efa154d commit 8503d54
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions webapps/frontend/scripts/xlts.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ const dependencyVersion = (npmPackage, xltsVersion) => {
const registryConfigured = exec(`npm get @${scope}:registry`) !== 'undefined\n';

const {XLTS_REGISTRY, XLTS_AUTH_TOKEN} = process.env;
console.log({
registry_length: XLTS_REGISTRY?.length,
authFound: XLTS_AUTH_TOKEN != null,
token_length: XLTS_AUTH_TOKEN?.length
});

if (!registryConfigured && XLTS_REGISTRY && XLTS_AUTH_TOKEN) {
exec(
Expand Down

0 comments on commit 8503d54

Please sign in to comment.