Skip to content

Commit

Permalink
Update version for NPM push; update README. (ampproject#5556)
Browse files Browse the repository at this point in the history
Also remove the unused version string from the command line tool.
We have enough versions this is just confusing things too much.
  • Loading branch information
powdercloud authored and Vanessa Pasque committed Dec 22, 2016
1 parent c285bcd commit e8a53d4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions validator/nodejs/README.md
Expand Up @@ -54,3 +54,6 @@ As expected, this emits errors because the provided string in the example, `<htm

### 1.0.12
* Added support for --user-agent option

### 1.0.13
* Added newInstance method, a simple API that's not async.
3 changes: 1 addition & 2 deletions validator/nodejs/index.js
Expand Up @@ -30,7 +30,6 @@ var url = require('url');
var util = require('util');
var vm = require('vm');

var VERSION = '0.1.0';
var DEFAULT_USER_AGENT = 'amphtml-validator';

/**
Expand Down Expand Up @@ -381,7 +380,7 @@ function logValidationResult(filename, validationResult, color) {
* Main entry point into the command line tool.
*/
function main() {
program.version(VERSION)
program
.usage(
'[options] <fileOrUrlOrMinus...>\n\n' +
' Validates the files or urls provided as arguments. If "-" is ' +
Expand Down
2 changes: 1 addition & 1 deletion validator/nodejs/package.json
@@ -1,6 +1,6 @@
{
"name": "amphtml-validator",
"version": "1.0.12",
"version": "1.0.13",
"description": "Validator for AMP HTML (www.ampproject.org)",
"engines": {
"node": ">=0.10.25"
Expand Down

0 comments on commit e8a53d4

Please sign in to comment.