Fix error print in script/helpers.py (#1935)

This commit is contained in:
Stefan Agner 2021-06-18 03:49:25 +02:00 committed by GitHub
parent dca1c0f160
commit f9a31c1abb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ def build_all_include():
def build_compile_commands():
gcc_flags_json = os.path.join(root_path, ".gcc-flags.json")
if not os.path.isfile(gcc_flags_json):
print("Could not find {} file which is required for clang-tidy.")
print("Could not find {} file which is required for clang-tidy.".format(gcc_flags_json))
print(
'Please run "pio init --ide atom" in the root esphome folder to generate that file.'
)