Remove custom ignore (#221)
This commit is contained in:
parent
9d5592ee27
commit
41303190f8
@ -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;
|
|
@ -1,5 +1,2 @@
|
|||||||
[build]
|
|
||||||
ignore = "node ignore-netlify-build.js"
|
|
||||||
|
|
||||||
[functions]
|
[functions]
|
||||||
included_files = ["!node_modules/@sentry/cli/sentry-cli"]
|
included_files = ["!node_modules/@sentry/cli/sentry-cli"]
|
||||||
|
Loading…
Reference in New Issue
Block a user