Comparing version 1.0.3 to 1.0.4
@@ -0,1 +1,7 @@ | ||
# 1.0.4 | ||
- **[FIXED]** syntax issue in `index.js`. | ||
# 1.0.1, 1.0.2, 1.0.3 | ||
@@ -2,0 +8,0 @@ |
@@ -48,4 +48,4 @@ /** | ||
*/ | ||
export function callIf(condition, func ...funcParams) { | ||
export function callIf(condition, func, ...funcParams) { | ||
return (condition ? func(...funcParams) : undefined); | ||
} |
{ | ||
"name": "call-if", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Micro-library of functions that call a given function if a given condition is met.", | ||
@@ -5,0 +5,0 @@ "authors": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11594