diff --git a/lib/publish-gh-pages.js b/lib/publish-gh-pages.js index 5bba6cf614..b02cbd7c76 100755 --- a/lib/publish-gh-pages.js +++ b/lib/publish-gh-pages.js @@ -120,7 +120,9 @@ excludePath = `${PROJECT_NAME}-${DEPLOYMENT_BRANCH}`; // https://github.com/shelljs/shelljs/issues/79 if ( shell.exec( - `rsync -rt --exclude=${excludePath} --exclude=.DS_Store ${fromPath} ${toPath}` + `rsync -rt --exclude=${excludePath} --exclude=.DS_Store ${fromPath} ${ + toPath + }` ).code !== 0 ) { shell.echo(`Error: Copying build assets failed`);