Skip to content

Commit

Permalink
Merge pull request atom#14205 from atom/fb-mdt-resolve-uri-in-opensync
Browse files Browse the repository at this point in the history
Fix URI resolution in `openSync()`
  • Loading branch information
Nathan Sobo committed Apr 14, 2017
1 parent 5cfb6eb commit da0db84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/workspace.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit da0db84

Please sign in to comment.