1
0
mirror of synced 2026-01-06 06:02:35 -05:00

docs: fix typos in script

This commit is contained in:
Surav Shrestha
2023-10-13 20:56:57 +05:45
parent 07c420ef6d
commit 5300bceea7
2 changed files with 2 additions and 2 deletions

View File

@@ -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?"

View File

@@ -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)) {