mirror of
https://github.com/atom/atom.git
synced 2026-01-25 06:48:28 -05:00
Merge pull request #16756 from atom/wl-params-to-options
Fix incorrect variable name
This commit is contained in:
@@ -249,7 +249,7 @@ class ApplicationDelegate {
|
||||
this.getCurrentWindow().showSaveDialog(options, callback)
|
||||
} else {
|
||||
// Sync
|
||||
if (typeof params === 'string') {
|
||||
if (typeof options === 'string') {
|
||||
options = {defaultPath: options}
|
||||
}
|
||||
return this.getCurrentWindow().showSaveDialog(options)
|
||||
|
||||
Reference in New Issue
Block a user