Merge pull request #3076 from ApamNapat/turned_two_eslint_rules_on

Trailing whitespace and files not ending with \n are now illegal
This commit is contained in:
hydroflame
2022-03-10 22:12:17 -05:00
committed by GitHub
12 changed files with 16 additions and 16 deletions

View File

@@ -26,7 +26,7 @@ async function initialize(win) {
} else {
log.log('Invalid authentication token');
res.writeHead(401);
res.end(JSON.stringify({
success: false,
msg: 'Invalid authentication token'
@@ -71,7 +71,7 @@ async function initialize(win) {
result = await window.webContents.executeJavaScript(`document.saveFile("${data.filename}", "${data.code}")`);
break;
// Delete files
case "DELETE":
result = await window.webContents.executeJavaScript(`document.deleteFile("${data.filename}")`);