Skip to content

Commit

Permalink
Enable debug for tact and resolve log render issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulyadav-57 committed Oct 30, 2023
1 parent 570a9a5 commit 693c01d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/workspace/WorkSpace/WorkSpace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ const WorkSpace: FC = () => {
if (!_log.includes('DEBUG')) {
return;
}
createLog(_log);
const splittedLog = _log.split('\n');
for (let i = 0; i < splittedLog.length; i++) {
createLog(splittedLog[i], 'info', true, true);
}
};

Analytics.track('Project Opened', {
Expand Down
3 changes: 3 additions & 0 deletions src/hooks/project.hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ export function useProjectActions() {
path: file.path!!,
output: 'dist',
name: 'tact',
options: {
debug: true,
},
},
project: fs,
stdlib: '@stdlib',
Expand Down

0 comments on commit 693c01d

Please sign in to comment.