mirror of
https://github.com/logos-messaging/packages.git
synced 2026-01-07 16:43:09 +00:00
Merge pull request #593 from yglukhov/validate-json-with-js
Validate json with js
This commit is contained in:
commit
cc006a9148
@ -18,7 +18,7 @@ before_script:
|
|||||||
- export PATH=`pwd`/nim-0.13.0/bin:$PATH
|
- export PATH=`pwd`/nim-0.13.0/bin:$PATH
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- nim c -d:ssl -r package_scanner.nim
|
- nim c -d:ssl -r package_scanner.nim && node ./validate_json.js
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false # noisy
|
email: false # noisy
|
||||||
|
|||||||
2
validate_json.js
Normal file
2
validate_json.js
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
var fs = require('fs');
|
||||||
|
JSON.parse(fs.readFileSync('packages.json', 'utf8'));
|
||||||
Loading…
x
Reference in New Issue
Block a user