Skip to content

Commit

Permalink
change logs to err
Browse files Browse the repository at this point in the history
  • Loading branch information
anacierdem committed Sep 23, 2024
1 parent cd8246d commit 7e472f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/actions/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,14 +254,14 @@ async function init(info) {
return info;
}

console.log('about to log', process.env.DOCKER_CONTAINER);
console.error('about to log', process.env.DOCKER_CONTAINER);

Check failure on line 257 in modules/actions/init.js

View workflow job for this annotation

GitHub Actions / Run-Tests / ci

Unexpected console statement

if (!process.env.DOCKER_CONTAINER) {
let activeBranchName = info.options.BRANCH ?? info.activeBranchName;
let shouldOverrideBranch = !!info.options.BRANCH;

const test = await autoDetect(info);
console.log('autoDetect', test);
console.error('autoDetect', test);

Check failure on line 264 in modules/actions/init.js

View workflow job for this annotation

GitHub Actions / Run-Tests / ci

Unexpected console statement

if ((await autoDetect(info)) === 'submodule') {
try {
Expand All @@ -275,7 +275,7 @@ async function init(info) {
activeBranchName = existingBranchName.trim();
shouldOverrideBranch = !!activeBranchName;

console.log({
console.error({

Check failure on line 278 in modules/actions/init.js

View workflow job for this annotation

GitHub Actions / Run-Tests / ci

Unexpected console statement
activeBranchName,
shouldOverrideBranch,
autoDetect: await autoDetect(info),
Expand Down

0 comments on commit 7e472f3

Please sign in to comment.