Skip to content

Commit

Permalink
fix: don't advertise node 6/flags etc
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeRalphson committed Jul 19, 2019
1 parent 49fad4f commit 60ee391
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -20,7 +20,6 @@ OpenAPI / Swagger / AsyncAPI / Semoasa definition to [Slate](https://github.com/
* You may limit the depth of schema examples using the `--maxDepth` option. The default is 10.
* To omit schemas entirely, please copy and customise the `main.dot` template.
* As of v3.1.0 Widdershins includes a generated `Authorization` header in OpenAPI code samples. If you wish to omit this, see [here](/templates/openapi3/README.md).
* If you are using Node.js 6 or lower, please specify the `--harmony` flag.

### To install

Expand Down
6 changes: 3 additions & 3 deletions bin/setflags.sh
@@ -1,5 +1,5 @@
#!/bin/sh
if [ "$TRAVIS_NODE_VERSION" -eq "6" ] ; then
export nflags="--harmony"
fi
#if [ "$TRAVIS_NODE_VERSION" -eq "6" ] ; then
# export nflags="--harmony"
#fi
echo flags: $nflags

0 comments on commit 60ee391

Please sign in to comment.