mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
🐛 Fix URI resolution in openSync()
@Alhadis noticed I missed this in 53ec839.
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