[From nobody Tue Jun 23 15:37:06 2026
Received: (at submit) by bugs.debian.org; 12 Jun 2026 01:56:58 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-18.2 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIM_ADSP_ALL,HAS_PACKAGE,NO_RELAYS,
 XMAILER_REPORTBUG autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 13; hammy, 127; neutral, 21; spammy,
 1. spammytokens:0.941-+--H*r:bugs.debian.org
 hammytokens:0.000-+--XDebbugsCc, 0.000-+--X-Debbugs-Cc,
 0.000-+--HTo:N*Debian, 0.000-+--H*Ad:N*Bug, 0.000-+--H*Ad:N*Tracking
Return-path: &lt;joe@nahmias.net&gt;
Received: via submission by buxtehude.debian.org with esmtp (Exim 4.96)
 (envelope-from &lt;joe@nahmias.net&gt;) id 1wXr8k-0021dK-09
 for submit@bugs.debian.org; Fri, 12 Jun 2026 01:56:58 +0000
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Joseph Nahmias &lt;joe@nahmias.net&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: does not clean up node_modules/@types
Message-ID: &lt;178122941451.1438492.10974008611823699124.reportbug@pinky.nahmias.net&gt;
X-Mailer: reportbug 13.2.0
Date: Thu, 11 Jun 2026 21:56:54 -0400
Delivered-To: submit@bugs.debian.org

Package: dh-nodejs
Version: 0.17.4
Severity: normal
X-Debbugs-Cc: joe@nahmias.net

When building node-moo, during the clean phase, node_modules/@types/moo
is unlinked, but the two parent directories, node_modules/@types and
node_modules, are not.
This causes the validate-cleanup job in salsa ci to fail:
https://salsa.debian.org/js-team/node-moo/-/jobs/9766194#L3706


Versions of packages dh-nodejs depends on:
ii  debhelper                 13.24.2
ii  libdebian-copyright-perl  0.2-6
ii  libdebian-source-perl     0.128
ii  libdpkg-perl              1.22.22
ii  libfile-which-perl        1.27-2
ii  libgraph-perl             1:0.9735-1
ii  libipc-run-perl           20231003.0-2
ii  libjson-perl              4.10000-1
ii  libyaml-perl              1.31-1
ii  nodejs                    20.19.2+dfsg-1+deb13u2
ii  perl                      5.40.1-6
]