Skip to content

Commit

Permalink
Port env to js
Browse files Browse the repository at this point in the history
  • Loading branch information
AliasIO committed Dec 18, 2017
1 parent 996c72d commit 4177bfb
Show file tree
Hide file tree
Showing 4 changed files with 12,117 additions and 11,443 deletions.
2 changes: 1 addition & 1 deletion bin/validate
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -eu

echo "Validating apps.json..."

jsonlint-cli -s schema.json src/apps.json
jsonlint-cli -tps schema.json src/apps.json > /tmp/apps.json && mv /tmp/apps.json src/apps.json

echo "Validating regular expressions..."

Expand Down
6 changes: 3 additions & 3 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
},
"required": true
},
"env": {
"type": [ "string", "array" ],
"items": {
"js": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
Expand Down
Loading

0 comments on commit 4177bfb

Please sign in to comment.