summaryrefslogtreecommitdiff
path: root/scripts/notify/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/notify/index.js')
-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() {