(callback)
| 349 | } |
| 350 | |
| 351 | function gitPull (callback) { |
| 352 | exec('git pull', {cwd: settings.TGX_SOURCE_PATH}, (error, stdout, stderr) => { |
| 353 | if (error) { |
| 354 | throw error; |
| 355 | } |
| 356 | callback(stdout); |
| 357 | }); |
| 358 | } |
| 359 | |
| 360 | function getGitData (callback) { |
| 361 | exec('echo "$(git rev-parse --short HEAD) $(git rev-parse HEAD) $(git show -s --format=%ct) $(git config --get remote.origin.url) $(git rev-parse --abbrev-ref HEAD) $(git log -1 --pretty=format:\'%an\')"', {cwd: settings.TGX_SOURCE_PATH}, (error, stdout, stderr) => { |
no outgoing calls
no test coverage detected