Skip to content

Commit

Permalink
unnecessary logs removed
Browse files Browse the repository at this point in the history
  • Loading branch information
akosbalasko committed Apr 5, 2021
1 parent d01cb4b commit 0975eb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/process-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const processNode = (note: any, notebookName: string): void => {

const data = applyTemplate(noteData, yarleOptions);
// tslint:disable-next-line:no-console
loggerInfo(`data =>\n ${JSON.stringify(data)} \n***`);
// loggerInfo(`data =>\n ${JSON.stringify(data)} \n***`);

saveMdFile(data, note);

Expand Down
2 changes: 1 addition & 1 deletion src/utils/clearLogFile.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as fs from 'fs';
import { LOGFILE } from './loggerInfo';
export const clearLogFile = () => {
fs.truncateSync(LOGFILE)
fs.truncateSync(`file:${LOGFILE}`)
}

0 comments on commit 0975eb7

Please sign in to comment.