Comparing version 6.1.0 to 6.1.1
@@ -130,2 +130,3 @@ #!/usr/bin/env node | ||
nojekyll: !!options.nojekyll, | ||
cname: options.cname, | ||
add: !!options.add, | ||
@@ -132,0 +133,0 @@ remove: options.remove, |
@@ -186,9 +186,11 @@ const findCacheDir = require('find-cache-dir'); | ||
.then((git) => { | ||
log('Copying files'); | ||
if (options.nojekyll) { | ||
log('Creating .nojekyll'); | ||
fs.createFileSync(path.join(git.cwd, '.nojekyll')); | ||
} | ||
if (options.cname) { | ||
log('Creating CNAME for %s', options.cname); | ||
fs.writeFileSync(path.join(git.cwd, 'CNAME'), options.cname); | ||
} | ||
log('Copying files'); | ||
return copy(files, basePath, path.join(git.cwd, options.dest)).then( | ||
@@ -195,0 +197,0 @@ function () { |
{ | ||
"name": "gh-pages", | ||
"version": "6.1.0", | ||
"version": "6.1.1", | ||
"description": "Publish to a gh-pages branch on GitHub (or any other branch on any other remote)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
39923
826