1
0
mirror of synced 2026-01-02 21:04:32 -05:00

Merge pull request #29136 from suravshrestha/patch3

docs: fix typos in script
This commit is contained in:
Steve Ward
2023-10-13 14:28:56 -04:00
committed by GitHub
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)) {