please-upgrade-node
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -18,4 +18,9 @@ var semverCompare = require('semver-compare') | ||
} | ||
process.exit(opts.exitCode || 1) | ||
if (opts.hasOwnProperty('exitCode')) { | ||
process.exit(opts.exitCode) | ||
} else { | ||
process.exit(1) | ||
} | ||
} | ||
} |
{ | ||
"name": "please-upgrade-node", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "Displays a beginner-friendly message telling your user to upgrade their version of Node", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -53,3 +53,3 @@ # Please upgrade Node [![](http://img.shields.io/npm/dm/please-upgrade-node.svg?style=flat)](https://www.npmjs.org/package/please-upgrade-node) [![Build Status](https://travis-ci.org/typicode/please-upgrade-node.svg?branch=master)](https://travis-ci.org/typicode/please-upgrade-node) [![npm](https://img.shields.io/npm/v/please-upgrade-node.svg)](https://www.npmjs.com/package/please-upgrade-node) | ||
__Important__: to keep `message` function compatible with older versions of Node, avoid using ES6 features like `=>` or string interpolation | ||
__Important__: to keep `message` function compatible with older versions of Node, avoid using ES6 features like `=>` or string interpolation. | ||
@@ -56,0 +56,0 @@ ## See also |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5138
35