Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
EliSchleifer committed Jan 31, 2024
1 parent 08a8c8d commit 3aa3eaa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,10 +430,10 @@ function getBinFile(command) {
// Tasks
//------------------------------------------------------------------------------

target.lintDocsJS = function([fix = false] = []) {
target.lintDocsJS = function([fix = false, ci = false] = []) {
echo("Validating JavaScript files in the docs directory");
const lastReturn = exec(
`${getBinFile("trunk")} check --filter=eslint --force ${fix ? "--fix" : ""} docs`
`${getBinFile("trunk")} check --filter=eslint --force ${fix ? "--fix" : ""} ${ci ? "--ci" : ""} docs`
);

if (lastReturn.code !== 0) {
Expand Down Expand Up @@ -982,4 +982,4 @@ target.perf = function() {

target.generateRelease = () => generateRelease();
target.generatePrerelease = ([prereleaseType]) => generateRelease(prereleaseType);
target.publishRelease = publishRelease;
target.publishRelease = publishRelease;

0 comments on commit 3aa3eaa

Please sign in to comment.