Skip to content

Commit

Permalink
Removed true from logging
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBuzatu-Marian committed Jul 3, 2024
1 parent 246d478 commit b74efa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/log/log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const log = fs.createWriteStream("/tmp/jsoniq-lsp.log");
export default {
write: (message: object | unknown) => {
// Only write if verbosity enabled
if (true) {
if (!!process.env.VERBOSE) {
if (typeof message === "object") {
log.write(JSON.stringify(message));
} else {
Expand Down

0 comments on commit b74efa5

Please sign in to comment.