logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: e76249c39b4ce633c2d36d54873c8d3fb2d596cb
parent 023b8c1458234f465770827b8eef6d3b908b3014
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri,  8 Sep 2023 10:52:57 +0200

nodejs.eclass: Do not run pretest and posttest scripts entries

Diffstat:

Meclass/nodejs.eclass3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eclass/nodejs.eclass b/eclass/nodejs.eclass @@ -32,7 +32,8 @@ NODEJS_SITELIB="/usr/share/nodejs/" nodejs_src_test() { if jq -e '.scripts | has("test")' <package.json >/dev/null then - npm run test || die + # --ignore-scripts: do not run pretest and posttest + npm test --ignore-scripts || die else die 'No "test" command defined in package.json' fi