Skip to content

Commit b85f723

Browse files
committed
Update release
1 parent ef2f2f5 commit b85f723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release/host.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var Host = (function () {
1111
this.reset();
1212
}
1313
Host.initLibDefault = function () {
14-
var content = fs.readFileSync(path.join(__dirname, '../node_modules/typescript/bin/lib.d.ts')).toString('utf8');
14+
var content = fs.readFileSync(path.resolve(path.dirname(require.resolve('typescript')) + '/lib.d.ts')).toString('utf8');
1515
this.libDefault = ts.createSourceFile('__lib.d.ts', content, 0 /* ES3 */, "0"); // Will also work for ES5 & 6
1616
};
1717
Host.prototype.reset = function () {

0 commit comments

Comments
 (0)