From dd40617179dcdf12ba2c03acc0e1af5c995e54f0 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Fri, 24 Nov 2023 12:58:57 -0800 Subject: [PATCH] fix pre-push --- build/prep-for-deploy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/prep-for-deploy.js b/build/prep-for-deploy.js index 8bc69c9..e87158a 100644 --- a/build/prep-for-deploy.js +++ b/build/prep-for-deploy.js @@ -3,7 +3,7 @@ import path from 'path'; import * as url from 'url'; const dirname = url.fileURLToPath(new URL('.', import.meta.url)); -const ignoreFilename = path.join(dirname, '..', '..', '.gitignore'); +const ignoreFilename = path.join(dirname, '..', '.gitignore'); const ignore = fs.readFileSync(ignoreFilename, {encoding: 'utf8'}); const newIgnore = ignore.replace(/# -- clip-for-deploy-start --[\s\S]*?# -- clip-for-deploy-end --/, ''); fs.writeFileSync(ignoreFilename, newIgnore);