Merge pull request #29136 from suravshrestha/patch3
docs: fix typos in script
This commit is contained in:
@@ -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?"
|
||||
|
||||
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user