mirror of
https://github.com/electron/node-gyp.git
synced 2025-08-15 12:58:19 +02:00
Fix Python lint error by using an f-string (#2886)
This commit is contained in:
parent
c9caa2ecf3
commit
1bfb083f8b
1 changed files with 2 additions and 5 deletions
|
@ -1991,11 +1991,8 @@ $(obj).$(TOOLSET)/$(TARGET)/%%.o: $(obj)/%%%s FORCE_DO_CMD
|
|||
and "product_dir" not in spec
|
||||
and self.toolset == "target"
|
||||
):
|
||||
# On mac, products are created in install_path immediately.
|
||||
assert install_path == self.output, "{} != {}".format(
|
||||
install_path,
|
||||
self.output,
|
||||
)
|
||||
# On macOS, products are created in install_path immediately.
|
||||
assert install_path == self.output, f"{install_path} != {self.output}"
|
||||
|
||||
# Point the target alias to the final binary output.
|
||||
self.WriteMakeRule(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue