Skip to content

Commit bf9f4c0

Browse files
yvesllnashif
authored andcommitted
ci: compliance: Correct dts-linter install cmd
Install dts-linter requires prefix for package.json Signed-off-by: Yves Wang <[email protected]>
1 parent 16a14f9 commit bf9f4c0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/ci/check_compliance.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,8 @@ def run(self):
606606
if not self.ensure_npx():
607607
self.skip(
608608
'dts-linter not installed. To run this check, '
609-
'install Node.js and then run [npm ci] command inside ZEPHYR_BASE'
609+
'install Node.js and then run [npm --prefix ./scripts/ci ci] command inside '
610+
'ZEPHYR_BASE'
610611
)
611612
if not dts_files:
612613
self.skip('No DTS')
@@ -648,7 +649,8 @@ def run(self):
648649
self.failure(f"dts-linter found issues:\n{stderr_output}")
649650
else:
650651
err = "dts-linter failed with no output. "
651-
err += "Make sure you install Node.js and then run npm ci inside ZEPHYR_BASE"
652+
err += "Make sure you install Node.js and then run "
653+
err += "[npm --prefix ./scripts/ci ci] inside ZEPHYR_BASE"
652654
self.failure(err)
653655
except RuntimeError as ex:
654656
self.failure(f"{ex}")

0 commit comments

Comments
 (0)