update
This commit is contained in:
@@ -17,7 +17,7 @@ export class Smartgit {
|
|||||||
if (this.smartenvInstance.isNode) {
|
if (this.smartenvInstance.isNode) {
|
||||||
this.envDeps.fs = await this.smartenvInstance.getSafeNodeModule('fs');
|
this.envDeps.fs = await this.smartenvInstance.getSafeNodeModule('fs');
|
||||||
this.envDeps.http = await this.smartenvInstance.getSafeNodeModule(
|
this.envDeps.http = await this.smartenvInstance.getSafeNodeModule(
|
||||||
'isomorphic-git/http/node/index.js'
|
'isomorphic-git/http/node'
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
throw new Error('currently only node.js is supported.');
|
throw new Error('currently only node.js is supported.');
|
||||||
|
Reference in New Issue
Block a user