mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 02:41:09 +00:00
update check_examples
This commit is contained in:
6
.github/check_examples.py
vendored
6
.github/check_examples.py
vendored
@@ -2,6 +2,8 @@ import json
|
||||
import glob
|
||||
import re
|
||||
|
||||
fail = 0
|
||||
|
||||
for package in glob.glob("**/package.json",recursive=True):
|
||||
if "node_modules" in package:
|
||||
continue
|
||||
@@ -20,4 +22,6 @@ for package in glob.glob("**/package.json",recursive=True):
|
||||
for match in matches:
|
||||
if matches[0] == "latest" or matches[0] != version:
|
||||
print(html,"should be",version,"was",matches)
|
||||
exit(1)
|
||||
fail = 1
|
||||
|
||||
exit(fail)
|
||||
|
||||
Reference in New Issue
Block a user