trustwallet-assets/script/entrypoint/history.ts
Adam R 159cec7043
[Internal] Infrastructure for change management (history) (#5653)
* Infrastructure for change management (history).

* Always take latest commit from master

* Allow history folder.

* Lint fixes

* Error handling, do not update LATEST if version writing failed

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-02-22 16:25:32 +01:00

13 lines
231 B
TypeScript

import { processChanges } from "../generic/history";
export async function main(): Promise<void> {
try {
await processChanges();
} catch(err) {
console.error(err);
process.exit(1);
}
}
main();