Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mattieFM committed Apr 20, 2024
1 parent 230ead0 commit e16834e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions www/mods/mattieFMModLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -1259,13 +1259,17 @@ MATTIE.onError = function (e) {

Graphics.printError('', errorText);

//error logger added
//https://discord.com/channels/1148766509406093342/1231107373167542282/1231107634564698192
// error logger added
// https://discord.com/channels/1148766509406093342/1231107373167542282/1231107634564698192
const fs = require('fs');
let logErr = `<body style="background-color: black; color: white;"><div class="content" style="border: 2px solid white; padding: 20px;">` + errorText + ` </div></body>`
const logErr = `
<body style="background-color: black; color: white;">
<div class="content" style="border: 2px solid white; padding: 20px;">
${errorText}
</div>
</body>`;
fs.appendFile('./errLog.html', logErr);


AudioManager.stopAll();
const cb = ((key) => {
if (key.key === 'F6') {
Expand Down

0 comments on commit e16834e

Please sign in to comment.