From bec314d2d7755879ca8a36cbc9a34ed79c199c18 Mon Sep 17 00:00:00 2001 From: "Daniel A. Wozniak" Date: Tue, 27 Feb 2024 14:39:24 -0700 Subject: [PATCH] Pre-commit formatting updates --- salt/utils/path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/utils/path.py b/salt/utils/path.py index 3d7fba8dc6e..cf3e4cf50bf 100644 --- a/salt/utils/path.py +++ b/salt/utils/path.py @@ -290,7 +290,7 @@ def check_or_die(command): raise CommandNotFoundError("'None' is not a valid command.") if not which(command): - raise CommandNotFoundError("'{}' is not in the path".format(command)) + raise CommandNotFoundError(f"'{command}' is not in the path") def sanitize_win_path(winpath):