From 5300bceea72afbf1e4929e97bb85e44f0ac98918 Mon Sep 17 00:00:00 2001 From: Surav Shrestha Date: Fri, 13 Oct 2023 20:56:57 +0545 Subject: [PATCH] docs: fix typos in script --- script/copy-to-test-repo.sh | 2 +- script/move-content.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/script/copy-to-test-repo.sh b/script/copy-to-test-repo.sh index cb605bdf53..f82f54f034 100755 --- a/script/copy-to-test-repo.sh +++ b/script/copy-to-test-repo.sh @@ -26,7 +26,7 @@ if [[ "$REPO_NAME" == "docs-internal-test" ]]; then if [[ `git status --porcelain` ]]; then echo "Committing and pushing test files" git add --all - git commit -m "testing (commited from script)" + git commit -m "testing (committed from script)" git push -f else echo "No changes copied over. Are there relevent changes and are you pointing to the correct -test directory?" diff --git a/script/move-content.js b/script/move-content.js index 4be14ab3d5..7e33313b5e 100755 --- a/script/move-content.js +++ b/script/move-content.js @@ -172,7 +172,7 @@ async function main(opts, nameTuple) { function validateFileInputs(oldPath, newPath, isFolder) { if (isFolder) { // Make sure that only the last portion of the path is different - // and that all preceeding are equal. + // and that all preceding are equal. const [oldBase, oldName] = splitDirectory(oldPath) const [newBase] = splitDirectory(newPath) if (oldBase !== newBase && !existsAndIsDirectory(newBase)) {