()
| 3 | import { REPO_ROOT } from './constants.js'; |
| 4 | |
| 5 | export function assertRunningScriptFromRepoRoot() { |
| 6 | nodeAssert.equal( |
| 7 | nodePath.normalize(process.cwd()), |
| 8 | nodePath.normalize(REPO_ROOT), |
| 9 | 'The script must be run from the root of the repo', |
| 10 | ); |
| 11 | } |