Skip to content

Commit

Permalink
Update error message
Browse files Browse the repository at this point in the history
Signed-off-by: Ashwin P Chandran <ashwinpc1993@gmail.com>
  • Loading branch information
ashwin-pc authored Apr 23, 2024
1 parent 2b2ff7a commit 69797d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dev/precommit_hook/check_dev_docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export async function checkDevDocs(log, files) {
const path = file.getRelativePath();

if (path === SIDEBAR_PATH) {
throw Error(`Please stage the ${SIDEBAR_PATH} to update the developer docs`);
throw Error(`Please git add the ${SIDEBAR_PATH} before committing your changes to update the developer docs`);

Check failure on line 13 in src/dev/precommit_hook/check_dev_docs.js

View workflow job for this annotation

GitHub Actions / Build and Verify on Linux (ciGroup1)

Replace ``Please·git·add·the·${SIDEBAR_PATH}·before·committing·your·changes·to·update·the·developer·docs`` with `⏎········`Please·git·add·the·${SIDEBAR_PATH}·before·committing·your·changes·to·update·the·developer·docs`⏎······`
}
});
}

0 comments on commit 69797d5

Please sign in to comment.