Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/austingebauer/devise.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/spdx-expression-parse/parse.js')
-rw-r--r--node_modules/spdx-expression-parse/parse.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/spdx-expression-parse/parse.js b/node_modules/spdx-expression-parse/parse.js
index a4a52ce..5a00b45 100644
--- a/node_modules/spdx-expression-parse/parse.js
+++ b/node_modules/spdx-expression-parse/parse.js
@@ -60,7 +60,7 @@ module.exports = function (tokens) {
if (t.type === 'LICENSEREF') {
next()
string += 'LicenseRef-' + t.string
- return {license: string}
+ return { license: string }
}
index = begin
}
@@ -69,7 +69,7 @@ module.exports = function (tokens) {
var t = token()
if (t && t.type === 'LICENSE') {
next()
- var node = {license: t.string}
+ var node = { license: t.string }
if (parseOperator('+')) {
node.plus = true
}