()
| 77 | } |
| 78 | |
| 79 | async function ensureGitClean() { |
| 80 | const diff = await execute('git diff'); |
| 81 | if (diff) { |
| 82 | throw new Error('git source tree is not clean. Pease commit your work and try again'); |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | /** |
| 87 | * Checks out a particular revision of source code and dependencies, |