Skip to content

Commit

Permalink
Deprecate --tmpdir=false in favor of --no-tmpdir
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed Sep 2, 2017
1 parent 7f6bdbb commit c96023a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions NEWS.md
Expand Up @@ -6,6 +6,10 @@

* CLI arguments with nonstandard argument values emit warnings (#722)

### Deprecated

* In the CLI, `--tmpdir=false` has been deprecated in favor of `--no-tmpdir` (#722)

## [9.0.1] - 2017-09-02

### Fixed
Expand Down
1 change: 1 addition & 0 deletions common.js
Expand Up @@ -71,6 +71,7 @@ function parseCLIArgs (argv) {

// tmpdir: `String` or `false`
if (args.tmpdir === 'false') {
warning('--tmpdir=false is deprecated, use --no-tmpdir instead')
args.tmpdir = false
}

Expand Down
2 changes: 1 addition & 1 deletion usage.txt
Expand Up @@ -57,7 +57,7 @@ package-manager the package manager to use when pruning devDependencies. Supp
platform all, or one or more of: darwin, linux, mas, win32 (comma-delimited if multiple).
Defaults to the host platform
quiet Do not print informational or warning messages
tmpdir temp directory. Defaults to system temp directory, use --tmpdir=false to disable
tmpdir temp directory. Defaults to system temp directory, use --no-tmpdir to disable
use of a temporary directory.

* darwin/mas target platforms only *
Expand Down

0 comments on commit c96023a

Please sign in to comment.