Skip to content

Commit

Permalink
add TODO for better console.logging
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAfroOfDoom authored and aidant19 committed Jan 17, 2024
1 parent 7efb35b commit be2355d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions package-scripts/modules/ajexport.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export async function script() {
}
const paths = parseConfigPaths('./package-scripts/modules/config.json');
const modelDir = paths.ajmodelDir.concat('/');
// TODO(69): `console.log`s aren't showing up in the terminal that we start Blockbench in
console.log('Target paths: ', paths);
const files = (await getFiles(modelDir)).filter((file) =>
file.endsWith('.ajmodel'),
Expand Down
2 changes: 2 additions & 0 deletions package-scripts/modules/bb-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ BBPlugin.register('bb-cli', {
.then(async (module) => {
await new Promise((resolve) => setTimeout(resolve, 1000));
await module.script();
// TODO(69): move this `window.close()` into a `finally` block once we
// fix the inconvenient `console.log` issue
window.close();
})
.catch((err) => {
Expand Down

0 comments on commit be2355d

Please sign in to comment.