Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
b46d1e19a7 | |||
c8d173807d |
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@pushrocks/smartgit",
|
||||
"version": "2.0.2",
|
||||
"version": "2.0.3",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@pushrocks/smartgit",
|
||||
"version": "2.0.2",
|
||||
"version": "2.0.3",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@pushrocks/smartenv": "^5.0.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pushrocks/smartgit",
|
||||
"version": "2.0.2",
|
||||
"version": "2.0.3",
|
||||
"description": "smart wrapper for nodegit",
|
||||
"main": "dist_ts/index.js",
|
||||
"typings": "dist_ts/index.d.ts",
|
||||
|
@ -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.')
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user