From 818751ff87155404763f1dc80731ea51b7332139 Mon Sep 17 00:00:00 2001 From: David Sanders Date: Mon, 5 Oct 2020 07:38:50 -0700 Subject: [PATCH] build: fix typos in script messages (#25766) --- script/check-relative-doc-links.py | 4 ++-- script/check-trailing-whitespace.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/script/check-relative-doc-links.py b/script/check-relative-doc-links.py index 22f1e646e623..6ecdcc0fb02d 100755 --- a/script/check-relative-doc-links.py +++ b/script/check-relative-doc-links.py @@ -44,7 +44,7 @@ def getBrokenLinks(filepath): f = open(filepath, 'r') lines = f.readlines() except KeyboardInterrupt: - print('Keyboard interruption whle parsing. Please try again.') + print('Keyboard interruption while parsing. Please try again.') finally: f.close() @@ -72,7 +72,7 @@ def getBrokenLinks(filepath): newFile = open(tempFile, 'r') newLines = newFile.readlines() except KeyboardInterrupt: - print('Keyboard interruption whle parsing. Please try again.') + print('Keyboard interruption while parsing. Please try again.') finally: newFile.close() diff --git a/script/check-trailing-whitespace.py b/script/check-trailing-whitespace.py index 9de5c6aa3b40..128853f2bc0e 100755 --- a/script/check-trailing-whitespace.py +++ b/script/check-trailing-whitespace.py @@ -41,7 +41,7 @@ def hasTrailingWhiteSpace(filepath, fix): f = open(filepath, 'r') lines = f.read().splitlines() except KeyboardInterrupt: - print('Keyboard interruption whle parsing. Please try again.') + print('Keyboard interruption while parsing. Please try again.') finally: f.close()