🐛 Fix URI resolution in openSync()

@Alhadis noticed I missed this in 53ec839.
This commit is contained in:
Matthew Dapena-Tretter
2017-04-13 23:41:23 -07:00
parent a73bb7e56c
commit abd8f2c0b7

View File

@@ -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()) {