(callback)
| 339 | } |
| 340 | |
| 341 | function getCommitDate (callback) { |
| 342 | exec('git show -s --format=%ct', {cwd: settings.TGX_SOURCE_PATH}, (error, stdout, stderr) => { |
| 343 | if (error) { |
| 344 | throw error; |
| 345 | } |
| 346 | const result = parseInt(trimIndent(stdout).trim()); |
| 347 | callback(result); |
| 348 | }); |
| 349 | } |
| 350 | |
| 351 | function gitPull (callback) { |
| 352 | exec('git pull', {cwd: settings.TGX_SOURCE_PATH}, (error, stdout, stderr) => { |
no test coverage detected