@runnerty/interpreter-core
Advanced tools
@@ -144,22 +144,3 @@ 'use strict'; | ||
| function getvaluequoted(idvalue, quote = "'", values) { | ||
| let res = ''; | ||
| if (values[idvalue]) { | ||
| const match = values[idvalue]; | ||
| if (match) { | ||
| res = match; | ||
| } | ||
| if (quote) { | ||
| if (quote === "\\'") { | ||
| quote = "'"; | ||
| } | ||
| res = quote + res + quote; | ||
| } | ||
| } else { | ||
| if (idvalue.startsWith('ENV_')) { | ||
| res = getENVs(idvalue); | ||
| } | ||
| } | ||
| return quote + res + quote; | ||
| return getvalue(idvalue, quote, values); | ||
| } | ||
@@ -166,0 +147,0 @@ |
+1
-1
| MIT License | ||
| Copyright (c) 2021 Runnerty Tech S.L. | ||
| Copyright (c) 2022 Runnerty Tech S.L. | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
+2
-2
| { | ||
| "name": "@runnerty/interpreter-core", | ||
| "version": "3.0.2", | ||
| "version": "3.0.3", | ||
| "description": "Runnerty interpreter module", | ||
@@ -32,3 +32,3 @@ "author": "Runnerty Tech", | ||
| "devDependencies": { | ||
| "eslint": "^8.5.0", | ||
| "eslint": "^8.7.0", | ||
| "eslint-config-prettier": "^8.3.0", | ||
@@ -35,0 +35,0 @@ "eslint-plugin-prettier": "^4.0.0", |
33507
-0.92%1215
-1.38%