Skip to content

Commit 6e59bdd

Browse files
committed
build: fix error syntax
1 parent caf58a7 commit 6e59bdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/build_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ def get_mbed_official_release(version):
416416
# release version is deprecated and all targets are being supported that are present
417417
# in targets.json file
418418

419-
if version == `2`:
419+
if version == '2':
420420
raise InvalidReleaseTargetException("Mbed 2 is no longer supported with this version of the tools")
421421

422422
mbed_official_release = (

0 commit comments

Comments
 (0)