(date: string)
| 247 | } |
| 248 | |
| 249 | export function weeklyPacketPaths(date: string) { |
| 250 | return { |
| 251 | weeklyNotes: join("updates", "weekly", `${date}.md`), |
| 252 | discordDraft: join("updates", "social", `${date}.discord.md`), |
| 253 | xDraft: join("updates", "social", `${date}.x.md`), |
| 254 | }; |
| 255 | } |
| 256 | |
| 257 | function writeFile(relativePath: string, contents: string, force: boolean) { |
| 258 | try { |
no outgoing calls
no test coverage detected