vigour-sentinel
Advanced tools
Comparing version 0.3.6 to 0.3.7
{ | ||
"name": "vigour-sentinel", | ||
"version": "0.3.6", | ||
"version": "0.3.7", | ||
"description": "Continuos Testing & Delivery Agent for vigour projects", | ||
@@ -5,0 +5,0 @@ "preferGlobal": "true", |
@@ -30,3 +30,6 @@ | ||
var addAndCommit = function(){ | ||
var addAndCommit = function(changed){ | ||
if(!changed){ | ||
return | ||
} | ||
log.info('Sentinel', 'adding and Committing changes') | ||
@@ -47,2 +50,3 @@ var commitMessage = `build for commit #${config.commit}` | ||
return fs.writeFileAsync(filePath, output.join('\n'), 'utf8') | ||
.then(() => output !== data) | ||
}) | ||
@@ -49,0 +53,0 @@ } |
14064
237