Skip files where sourcekitd crashes

This commit is contained in:
Michelle Linington 2021-10-07 20:42:50 -07:00
parent d2de17afb9
commit fa190b88cd
2 changed files with 1 additions and 3 deletions

View File

@ -319,8 +319,6 @@ def process(filepath):
env_copy = os.environ.copy()
env_copy["SCRIPT_INPUT_FILE_COUNT"] = "1"
env_copy["SCRIPT_INPUT_FILE_0"] = '%s' % ( short_filepath, )
lint_output = subprocess.check_output(['swiftlint', '--fix', '--use-script-input-files'], env=env_copy)
print lint_output
try:
lint_output = subprocess.check_output(['swiftlint', 'lint', '--use-script-input-files'], env=env_copy)
except subprocess.CalledProcessError, e:

View File

@ -1,5 +1,5 @@
//
// Copyright (c) 2020 Open Whisper Systems. All rights reserved.
// Copyright (c) 2021 Open Whisper Systems. All rights reserved.
//
// This file is generated by EmojiGenerator.swift, do not manually edit it.