Skip to content

Commit c94c484

Browse files
committed
fix scripts extension comparison to include dot
1 parent 8ba8931 commit c94c484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SKCore/BuildServerBuildSystem.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public final class BuildServerBuildSystem {
119119
private func initializeBuildServer() throws {
120120
var serverPath = AbsolutePath(serverConfig.argv[0], relativeTo: projectRoot)
121121
var flags = Array(serverConfig.argv[1...])
122-
if serverPath.suffix == "py" {
122+
if serverPath.suffix == ".py" {
123123
flags = [serverPath.pathString] + flags
124124
guard let interpreterPath =
125125
lookupExecutablePath(filename: executable("python3"),

0 commit comments

Comments
 (0)