Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
Updated the code, for issue OmniSharp#1

//from
else {
    module.exports = require(path.join(__dirname, 'dist/index'));
}

//to 
else {
    module.exports = require(path.join(__dirname, 'dist/src/index'));
}
  • Loading branch information
prabhugopal authored Sep 14, 2017
1 parent c0f16a7 commit 1460b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ var fs = require('fs'), path = require('path');
if (fs.existsSync(path.resolve(__dirname, 'src/index.js'))) {
module.exports = require(path.join(__dirname, 'src/index'));
} else {
module.exports = require(path.join(__dirname, 'dist/index'));
module.exports = require(path.join(__dirname, 'dist/src/index'));
}

0 comments on commit 1460b60

Please sign in to comment.