You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: package.json
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,12 @@
1
1
{
2
2
"name": "lambda-expression",
3
-
"version": "0.1.0",
3
+
"version": "0.1.1",
4
4
"description": "Utility to analyze function (js) and arrow functions (ts), and create metadata of expressions, the initial scope is that it seeks to solve simple expressions. And later advance to encompass complex expressions.",
5
5
"main": "./src/main.js",
6
6
"types": "./src/main.d.ts",
7
7
"scripts": {
8
-
"test": "echo \"Error: no test specified\" && exit 1"
throw"Lambda expression '"+expression.toString()+"'not supported! Use simple expression with '{expressionLeft} {operador} {expressionRight}'";
70
+
if(strExpression.length!==3){
71
+
thrownewError("Lambda expression '"+expression.toString()+"'\n not supported! Use simple expression with '{expressionLeft} {operador} {expressionRight}'");
0 commit comments