Skip to content

Commit

Permalink
Update error log param
Browse files Browse the repository at this point in the history
  • Loading branch information
AshanFernando committed Apr 23, 2024
1 parent 29ccfd0 commit b49a6fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5836,7 +5836,7 @@ const core = __importStar(__nccwpck_require__(2186));
const init_1 = __importDefault(__nccwpck_require__(2154));
try {
const wsdir = process.env.WSDIR || './';
const args = process.env.LOG ? [`--log ${process.env.LOG}`] : [];
const args = process.env.LOG ? [`--log=${process.env.LOG}`] : [];
if (!process.env.BIT_CONFIG_ACCESS_TOKEN && !process.env.BIT_CONFIG_USER_TOKEN) {
// Keeping backward compatibility for BIT_CONFIG_USER_TOKEN
throw new Error("BIT_CONFIG_ACCESS_TOKEN environment variable is not set!");
Expand Down
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import run from "./scripts/init";

try {
const wsdir = process.env.WSDIR || './';
const args = process.env.LOG? [`--log ${process.env.LOG}`]: [];
const args = process.env.LOG? [`--log=${process.env.LOG}`]: [];

if (!process.env.BIT_CONFIG_ACCESS_TOKEN && !process.env.BIT_CONFIG_USER_TOKEN) {
// Keeping backward compatibility for BIT_CONFIG_USER_TOKEN
Expand Down

0 comments on commit b49a6fd

Please sign in to comment.