Skip to content

Commit 3897d27

Browse files
authored
Adjust clean jobs for CDDL extracts for *real* (#1416)
Nice try, François, but check should have been done the other way around!
1 parent 0a24406 commit 3897d27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/clean-dropped-specs-files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ async function cleanExtractFolder(folder, crawlResults) {
2929
.find(s => s.shortname === specname ||
3030
s.series?.shortname === specname ||
3131
// CDDL extracts may end with CDDL module name
32-
s.shortname.startsWith(specname + '-')
32+
specname.startsWith(s.shortname + '-')
3333
);
3434
if (!spec) {
3535
const fileToDrop = path.join(folder, filename);

0 commit comments

Comments
 (0)