Skip to content

Commit

Permalink
fix pre-push
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Nov 24, 2023
1 parent 23931df commit dd40617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/prep-for-deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit dd40617

Please sign in to comment.