mirror of
https://github.com/atom/atom.git
synced 2026-02-17 01:51:54 -05:00
Merge pull request #14205 from atom/fb-mdt-resolve-uri-in-opensync
Fix URI resolution in `openSync()`
This commit is contained in:
@@ -1068,7 +1068,7 @@ module.exports = class Workspace extends Model {
|
||||
const activatePane = options.activatePane != null ? options.activatePane : true
|
||||
const activateItem = options.activateItem != null ? options.activateItem : true
|
||||
|
||||
const uri = this.project.resolvePath(uri)
|
||||
const uri = this.project.resolvePath(uri_)
|
||||
let item = this.getActivePane().itemForURI(uri)
|
||||
if (uri && (item == null)) {
|
||||
for (const opener of this.getOpeners()) {
|
||||
|
||||
Reference in New Issue
Block a user