-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type consistancy #3
Comments
@jmervine we are discussing this in Slack ATM. Will update asap. |
@jmervine let's get a list of strings and ints that are wrongfully labeled. I can then up in a ticket. |
Assuming the docs are correct, in the clone, you can run... # find all numbers with quotes around them and their line numbers and file names...
$ find _includes -type f -name "*.md" | xargs grep -E '\"([0-9]+)\"'
# just the file names...
$ find _includes -type f -name "*.md" | xargs grep -l -Eo '\"([0-9]+)\"' There will be lots of things in the output you can ignore, but it should be a good starting point. |
This will pull out just the key/value pairs, but doesn't include the endpoints, so I'm not sure how helpful that is... $ find _includes -type f -name "*.md" | xargs grep -E '\"([0-9]+)\"' | grep '"\":\"\|\": \"' | grep -v "params =" |
Hey, it would be super helpful if
int
's whereint
's andstring
's wherestring
's. For example in this output from/reports/stats.json/hourly
wheresize
,hit
,noncache_hit
andcache_hit
should all beint
's.The text was updated successfully, but these errors were encountered: