pineafan | 63fc5e2 | 2022-08-04 22:04:10 +0100 | [diff] [blame] | 1 | let format; |
2 | try { | ||||
3 | format = await import("./dist/config/format.js"); | ||||
4 | } catch (e) { | ||||
5 | console.log("Please run `yarn` and `yarn build` first."); | ||||
6 | } | ||||
pineafan | 09f213f | 2022-07-28 12:35:48 +0100 | [diff] [blame] | 7 | |
pineafan | 63fc5e2 | 2022-08-04 22:04:10 +0100 | [diff] [blame] | 8 | await format(true); |
9 | process.exit(0); |