bootme-gitclone
Advanced tools
Comparing version 0.0.22 to 0.0.23
10
index.js
@@ -59,3 +59,2 @@ 'use strict' | ||
this.path = Path.join(this.config.bootme.basePath, this.config.path) | ||
this.addHook('onError', async () => del([this.path])) | ||
} | ||
@@ -68,2 +67,11 @@ /** | ||
*/ | ||
async rollback() { | ||
return del([this.path]) | ||
} | ||
/** | ||
* | ||
* | ||
* @returns | ||
* @memberof GitcloneTask | ||
*/ | ||
async action() { | ||
@@ -70,0 +78,0 @@ await this.git.silent(true).clone(this.config.url, this.path) |
{ | ||
"name": "bootme-gitclone", | ||
"version": "0.0.22", | ||
"version": "0.0.23", | ||
"description": "Task to clone a Git Repository", | ||
@@ -26,3 +26,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"bootme": "^0.0.26", | ||
"bootme": "^0.0.27", | ||
"del": "^3.0.0", | ||
@@ -29,0 +29,0 @@ "joi": "^13.0.1", |
78
2517
+ Addedbootme@0.0.27(transitive)
- Removedbootme@0.0.26(transitive)
Updatedbootme@^0.0.27