chore: format codes

This commit is contained in:
qier222 2021-04-26 16:26:49 +08:00
parent 6922c716e2
commit 9351f6bc89
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
73 changed files with 2321 additions and 2321 deletions

View file

@ -15,11 +15,11 @@ const nativeAlert = (() => {
if (process.env.IS_ELECTRON === true) {
const {
remote: { dialog },
} = require("electron");
} = require('electron');
if (dialog) {
return (message) => {
return message => {
var options = {
type: "warning",
type: 'warning',
detail: message,
};
dialog.showMessageBoxSync(null, options);