diff --git a/scripts/build-newsroom-videos.js b/scripts/build-newsroom-videos.js index 2b4b4dac4cf..073a63db9b1 100644 --- a/scripts/build-newsroom-videos.js +++ b/scripts/build-newsroom-videos.js @@ -1,7 +1,7 @@ const { writeFileSync } = require('fs'); const { resolve } = require('path'); const fetch = require('node-fetch') -export async function buildNewsroomVideos() { +async function buildNewsroomVideos() { try { let data; @@ -40,4 +40,5 @@ export async function buildNewsroomVideos() { } } -buildNewsroomVideos() \ No newline at end of file +buildNewsroomVideos() +module.exports={buildNewsroomVideos} \ No newline at end of file