From 1c40f6ed380b8d0905220da63779a3840245d4b4 Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Wed, 1 Dec 2021 10:40:55 -0600 Subject: [PATCH] fix: release notes (#2074) --- scripts/notify/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/notify/index.js b/scripts/notify/index.js index ea911f61a7..e5e9f08c58 100755 --- a/scripts/notify/index.js +++ b/scripts/notify/index.js @@ -1,4 +1,6 @@ -const path = require('path'); +import path from 'path'; +import { createRequire } from 'module'; +const require = createRequire(import.meta.url); const baseUrl = new URL('https://github.com/withastro/astro/blob/main/'); async function run() {