summaryrefslogtreecommitdiff
path: root/scripts/notify
diff options
context:
space:
mode:
authorGravatar Nate Moore <natemoo-re@users.noreply.github.com> 2021-12-01 10:40:55 -0600
committerGravatar GitHub <noreply@github.com> 2021-12-01 10:40:55 -0600
commit1c40f6ed380b8d0905220da63779a3840245d4b4 (patch)
treeeff0eaa31b2b64d7e7c8a895516daaaf70aaa30e /scripts/notify
parent49019aa2d6c7e33ef7410bd0e40b85560fe8e8ff (diff)
downloadastro-1c40f6ed380b8d0905220da63779a3840245d4b4.tar.gz
astro-1c40f6ed380b8d0905220da63779a3840245d4b4.tar.zst
astro-1c40f6ed380b8d0905220da63779a3840245d4b4.zip
fix: release notes (#2074)
Diffstat (limited to 'scripts/notify')
-rwxr-xr-xscripts/notify/index.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/notify/index.js b/scripts/notify/index.js
index ea911f61a..e5e9f08c5 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() {