Skip to content

Commit

Permalink
Merge pull request #318 from okuryu/dist
Browse files Browse the repository at this point in the history
Allow an absolute path as dist directory
  • Loading branch information
tschaub committed Jan 7, 2020
2 parents 169f29b + 1f313c7 commit 5bf8204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/gh-pages.js
Expand Up @@ -8,7 +8,7 @@ const addr = require('email-addresses');

function publish(config) {
return new Promise((resolve, reject) => {
const basePath = path.join(process.cwd(), program.dist);
const basePath = path.resolve(process.cwd(), program.dist);
ghpages.publish(basePath, config, err => {
if (err) {
return reject(err);
Expand Down

0 comments on commit 5bf8204

Please sign in to comment.