@@ -26,10 +26,10 @@ def _http_archive_version_impl(rctx):
2626 elif "dependencies" in p .keys () and "typescript" in p ["dependencies" ]:
2727 ts = p ["dependencies" ]["typescript" ]
2828 else :
29- fail ("key ` typescript` not found in either dependencies or devDependencies of %s" % json_path )
29+ fail ("key ' typescript' not found in either dependencies or devDependencies of %s" % json_path )
3030 if any ([not seg .isdigit () for seg in ts .split ("." )]):
3131 fail ("""typescript version in package.json must be exactly specified, not a semver range: %s.
32- You can supply an exact ` ts_version` attribute to ` rules_ts_dependencies` to bypass this check.""" % ts )
32+ You can supply an exact ' ts_version' attribute to ' rules_ts_dependencies' to bypass this check.""" % ts )
3333 version = ts
3434
3535 if rctx .attr .integrity :
@@ -38,7 +38,7 @@ def _http_archive_version_impl(rctx):
3838 integrity = TS_VERSIONS [version ]
3939 else :
4040 fail ("""typescript version {} is not mirrored in rules_ts, is this a real version?
41- If so, you must manually set ` ts_integrity` .
41+ If so, you must manually set ' ts_integrity' .
4242 See documentation on rules_ts_dependencies.""" .format (version ))
4343
4444 rctx .download_and_extract (
@@ -70,7 +70,7 @@ http_archive_version = repository_rule(
7070# buildifier: disable=function-docstring
7171def npm_dependencies (ts_version_from = None , ts_version = None , ts_integrity = None ):
7272 if (ts_version and ts_version_from ) or (not ts_version_from and not ts_version ):
73- fail ("""Exactly one of ` ts_version` or ` ts_version_from` must be set.""" )
73+ fail ("""Exactly one of ' ts_version' or ' ts_version_from' must be set.""" )
7474
7575 maybe (
7676 http_archive ,
0 commit comments