substract -> subtract
This commit is contained in:
parent
16d8a67e75
commit
829479d1dd
2 changed files with 3 additions and 3 deletions
|
@ -236,6 +236,6 @@ rec {
|
|||
# Intersects list 'e' and another list
|
||||
intersect = e: filter (x: elem x e);
|
||||
|
||||
# Substracts list 'e' from another list
|
||||
substract = e: filter (x: !(elem x e));
|
||||
# Subtracts list 'e' from another list
|
||||
subtract = e: filter (x: !(elem x e));
|
||||
}
|
||||
|
|
|
@ -67,7 +67,7 @@ let
|
|||
if filterPlatforms == [] then platforms
|
||||
else
|
||||
if hasPrefix "!" entry then
|
||||
substract (intersect filterPlatforms nodejs.meta.platforms) platforms
|
||||
subtract (intersect filterPlatforms nodejs.meta.platforms) platforms
|
||||
else
|
||||
platforms ++ (intersect filterPlatforms nodejs.meta.platforms)
|
||||
) [] os;
|
||||
|
|
Loading…
Reference in a new issue