From f5c75d0fd94d6b9ef3a44bda4bb2e634cd02fd32 Mon Sep 17 00:00:00 2001 From: Sean Kelly Date: Mon, 4 Mar 2024 16:40:45 -0600 Subject: [PATCH] npm docs opens the docs; we want to generate them --- src/pds/roundup/_nodejs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pds/roundup/_nodejs.py b/src/pds/roundup/_nodejs.py index e2d73b9..6ba5889 100644 --- a/src/pds/roundup/_nodejs.py +++ b/src/pds/roundup/_nodejs.py @@ -118,7 +118,7 @@ def execute(self): class _DocsStep(_NodeJSStep): '''A step that uses JSDoc (invoked by ``npm docs``) to generate documentation''' def execute(self): - invoke(['npm', 'docs']) + invoke(['npm', 'run', 'docs']) class _VersionBumpingStep(_NodeJSStep):