ftp-deploy
Advanced tools
Comparing version 2.4.4 to 2.4.5
{ | ||
"name": "ftp-deploy", | ||
"version": "2.4.4", | ||
"version": "2.4.5", | ||
"author": "Simon Hampton", | ||
@@ -5,0 +5,0 @@ "description": "Ftp a folder from your local disk to an ftp destination", |
@@ -76,3 +76,3 @@ # ftp-deploy | ||
These are lists of [minimatch globs](https://github.com/isaacs/minimatch). ftp-deploy works by checking for each file in your sourece directory, whether it is included by one of the include patterns and whether it is NOT excluded by one of the exclude patterns. In other words: | ||
These are lists of [minimatch globs](https://github.com/isaacs/minimatch). ftp-deploy works by checking for each file in your source directory, whether it is included by one of the include patterns and whether it is NOT excluded by one of the exclude patterns. In other words: | ||
@@ -79,0 +79,0 @@ - `include`: all files that match will be uploaded. **Note** that a `[ ]` matches nothing |
@@ -14,3 +14,3 @@ const fs = require("fs"); | ||
function checkIncludes(config) { | ||
config.excludes = config.excludes || []; | ||
config.exclude = config.exclude || []; | ||
if (!config.include || !config.include.length) { | ||
@@ -17,0 +17,0 @@ return Promise.reject({ |
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
29223