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