Fix Docs Accessibility Testing (#1588)

* update run_shell task to use newer python

* add shell arg back

* make tests run when certain files change
This commit is contained in:
Jonathan Wren 2022-09-03 14:21:27 -07:00 committed by GitHub
parent 8032aa9f2f
commit bd02c52d5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

View file

@ -21,7 +21,7 @@ def delete_files(files):
def run_shell(command):
# Required to run NPM commands in Windows and *nix
subprocess.call(command, shell=True)
subprocess.run(command, check=True, shell=True)
def generate_sitemap():