Remove custom ignore (#221)

This commit is contained in:
Edd 2022-04-07 12:24:04 +01:00 committed by GitHub
parent 9d5592ee27
commit 41303190f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 13 deletions

View File

@ -1,9 +0,0 @@
const currentProject = process.env.NX_PROJECT_NAME;
const execSync = require('child_process').execSync;
const getAffected = `npx nx print-affected`;
const output = execSync(getAffected).toString();
//get the list of changed projects from the output
const changedProjects = JSON.parse(output).projects; // array of affected projects
process.exitCode = changedProjects.some((project) => project === currentProject)
? 0
: 1;

View File

@ -1,5 +1,2 @@
[build]
ignore = "node ignore-netlify-build.js"
[functions]
included_files = ["!node_modules/@sentry/cli/sentry-cli"]
included_files = ["!node_modules/@sentry/cli/sentry-cli"]