Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add build:strict support #11

Merged
merged 1 commit into from
Feb 10, 2023
Merged

feat: add build:strict support #11

merged 1 commit into from
Feb 10, 2023

Conversation

kgpayne
Copy link

@kgpayne kgpayne commented Feb 10, 2023

No description provided.

@kgpayne
Copy link
Author

kgpayne commented Feb 10, 2023

@archiewood re: our convo in slack 🙂

@archiewood
Copy link

Perfect!

@kgpayne kgpayne mentioned this pull request Feb 10, 2023
5 tasks
@kgpayne kgpayne merged commit eac1167 into main Feb 10, 2023
@kgpayne kgpayne deleted the kgpayne/add-build-strict branch February 10, 2023 15:02
Comment on lines +95 to +100
build_cmds = ["--prefix", self.evidence_home, "run"]
if strict:
build_cmds.append("build:strict")
else:
build_cmds.append("build")
self._npm.run_and_log(*build_cmds)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
build_cmds = ["--prefix", self.evidence_home, "run"]
if strict:
build_cmds.append("build:strict")
else:
build_cmds.append("build")
self._npm.run_and_log(*build_cmds)
self._npm.run_and_log(
"--prefix",
self.evidence_home,
"run",
"build:strict" if strict else "build"
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants