mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Clean up no-empty lint errors
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-empty": 0
|
||||
},
|
||||
"env": {
|
||||
"jquery": true,
|
||||
"mocha": true
|
||||
|
||||
@@ -470,6 +470,7 @@ describe('browser-window module', function() {
|
||||
fs.rmdirSync(path.join(savePageDir, 'save_page_files'));
|
||||
fs.rmdirSync(savePageDir);
|
||||
} catch (e) {
|
||||
// Ignore error
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ describe('protocol module', function() {
|
||||
callback(text);
|
||||
return callback();
|
||||
} catch (error1) {
|
||||
|
||||
// Ignore error
|
||||
}
|
||||
};
|
||||
return protocol.registerStringProtocol(protocolName, doubleHandler, function(error) {
|
||||
@@ -589,7 +589,7 @@ describe('protocol module', function() {
|
||||
callback(text);
|
||||
return callback();
|
||||
} catch (error1) {
|
||||
|
||||
// Ignore error
|
||||
}
|
||||
};
|
||||
return protocol.interceptStringProtocol('http', doubleHandler, function(error) {
|
||||
|
||||
Reference in New Issue
Block a user