Update prettier to 1.9.1 (#273)

This commit is contained in:
Jan Kassens 2017-12-12 12:47:52 -08:00 committed by Héctor Ramos
parent c22203523f
commit b174ee2d2a
9 changed files with 23 additions and 44 deletions

View file

@ -54,9 +54,7 @@ let remoteBranch;
if (USE_SSH === 'true') {
remoteBranch = `git@github.com:${ORGANIZATION_NAME}/${PROJECT_NAME}.git`;
} else {
remoteBranch = `https://${GIT_USER}@github.com/${ORGANIZATION_NAME}/${
PROJECT_NAME
}.git`;
remoteBranch = `https://${GIT_USER}@github.com/${ORGANIZATION_NAME}/${PROJECT_NAME}.git`;
}
if (IS_PULL_REQUEST) {
@ -120,9 +118,7 @@ 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`);
@ -137,9 +133,7 @@ shell.exec('git add --all');
if (
shell.exec(
`git commit -m "Deploy website" -m "Deploy website version based on ${
currentCommit
}"`
`git commit -m "Deploy website" -m "Deploy website version based on ${currentCommit}"`
).code !== 0
) {
shell.echo(`Error: Committing static website failed`);