fix(core): update
This commit is contained in:
parent
5944c7e96f
commit
c8d173807d
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@pushrocks/smartgit',
|
||||
version: '2.0.2',
|
||||
version: '2.0.3',
|
||||
description: 'smart wrapper for nodegit'
|
||||
}
|
||||
|
@ -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.')
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user