File: disable-help.patch

package info (click to toggle)
node-rollup 3.15.0-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 51,264 kB
  • sloc: javascript: 108,994; sh: 26; makefile: 18
file content (17 lines) | stat: -rw-r--r-- 664 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Disable help
 Ugly hack: rollup is required for importing .md files. This removes circular
 build dependency. This should be fixed properly when we have latest version of
 rollup in the archive and a proper staged build is used.
Forwarded: not-needed
Reviewed-By: Xavier Guimard <yadd@debian.org>
Last-Update: 2022-10-10

--- a/cli/cli.ts
+++ b/cli/cli.ts
@@ -1,5 +1,5 @@
 import process from 'node:process';
-import help from 'help.md';
+const help ='See /usr/share/doc/rollup/help.md or man rollup';
 import { version } from 'package.json';
 import argParser from 'yargs-parser';
 import { commandAliases } from '../src/utils/options/mergeOptions';