Comparing version 6.0.1 to 6.1.0
@@ -86,3 +86,3 @@ 'use strict' | ||
} else { | ||
resolve() | ||
resolve(file) | ||
} | ||
@@ -89,0 +89,0 @@ } |
@@ -25,2 +25,3 @@ 'use strict' | ||
) | ||
return file | ||
} |
{ | ||
"name": "to-vfile", | ||
"version": "6.0.1", | ||
"description": "vfile utility to create a vfile from from a filepath", | ||
"version": "6.1.0", | ||
"description": "vfile utility to create a vfile from a filepath", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -80,4 +80,4 @@ # to-vfile | ||
Like `toVFile.read` but synchronous. Either throws an error or returns a | ||
populated virtual file. | ||
Like `toVFile.read` but synchronous. | ||
Either throws an error or returns a populated virtual file. | ||
@@ -91,3 +91,3 @@ ### `toVFile.write(options[, fsOptions][, callback])` | ||
If `callback` is not given, returns a [`Promise`][promise] that is rejected with | ||
an error or resolved without any value. | ||
an error or resolved with the written virtual file. | ||
@@ -97,3 +97,3 @@ ### `toVFile.writeSync(options[, fsOptions])` | ||
Like `toVFile.write` but synchronous. | ||
Throws an error, if any. | ||
Either throws an error or returns a populated virtual file. | ||
@@ -100,0 +100,0 @@ ## Contribute |
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
10114
116