chore: remove unused catch bindings (#16121)
This commit is contained in:
parent
08f7d60da4
commit
a40d826b11
7 changed files with 12 additions and 11 deletions
|
@ -8,7 +8,7 @@ const path = require('path')
|
|||
const getTempDirectory = function () {
|
||||
try {
|
||||
return app.getPath('temp')
|
||||
} catch (error) {
|
||||
} catch {
|
||||
return os.tmpdir()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue