Skip to content

Commit 6c98e9c

Browse files
committed
Remove useless conditional
1 parent d862f7b commit 6c98e9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haskell/private/pkgdb_to_bzl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def hs_library_pattern(package_name, name, mode = "static", profiling = False):
130130

131131
if mode == "dynamic":
132132
libnames = [libname + dyn_suffix for libname in libnames]
133-
exts = ["so", "so.*", "dylib", "dll"] if mode == "dynamic" else ["a"]
133+
exts = ["so", "so.*", "dylib", "dll"]
134134
else:
135135
exts = ["a"]
136136

0 commit comments

Comments
 (0)