Comparing version 1.1.0 to 1.2.0
@@ -72,3 +72,3 @@ 'use strict'; | ||
if (!opts.fs.statSync(pth).isDirectory()) { | ||
throw new Error(); | ||
throw new Error('The path is not a directory'); | ||
} | ||
@@ -75,0 +75,0 @@ } catch (_) { |
{ | ||
"name": "make-dir", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Make a directory and its parents if needed - Think `mkdir -p`", | ||
@@ -47,5 +47,5 @@ "license": "MIT", | ||
"ava": "*", | ||
"codecov": "^2.1.0", | ||
"codecov": "^3.0.0", | ||
"graceful-fs": "^4.1.11", | ||
"nyc": "^10.2.0", | ||
"nyc": "^11.3.0", | ||
"path-type": "^3.0.0", | ||
@@ -52,0 +52,0 @@ "tempy": "^0.2.1", |
@@ -109,2 +109,5 @@ # make-dir [![Build Status: macOS & Linux](https://travis-ci.org/sindresorhus/make-dir.svg?branch=master)](https://travis-ci.org/sindresorhus/make-dir) [![Build status: Windows](https://ci.appveyor.com/api/projects/status/e0vtt8y600w91gcs/branch/master?svg=true)](https://ci.appveyor.com/project/sindresorhus/make-dir/branch/master) [![codecov](https://codecov.io/gh/sindresorhus/make-dir/branch/master/graph/badge.svg)](https://codecov.io/gh/sindresorhus/make-dir) | ||
- [globby](https://github.com/sindresorhus/globby) - User-friendly glob matching | ||
- [cpy](https://github.com/sindresorhus/cpy) - Copy files | ||
- [cpy-cli](https://github.com/sindresorhus/cpy-cli) - Copy files on the command-line | ||
- [move-file](https://github.com/sindresorhus/move-file) - Move a file | ||
@@ -111,0 +114,0 @@ |
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
6484
117