From 389ea20b990fe5e833f6beb61fbeae198f7e1d3f Mon Sep 17 00:00:00 2001 From: Anand Chowdhary Date: Wed, 28 Oct 2020 17:09:13 +0530 Subject: [PATCH] :bug: Copy status-page contents to dir --- src/site.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/site.ts b/src/site.ts index 61f6bca0..c639db73 100644 --- a/src/site.ts +++ b/src/site.ts @@ -6,7 +6,7 @@ export const generateSite = async () => { cd(siteDir); exec("npm init -y"); exec("npm i @upptime/status-page"); - cp("-r", "node_modules/@upptime/status-page", "."); + cp("-r", "node_modules/@upptime/status-page/*", "."); exec("npm i"); exec("npm run export"); cd("../..");