Skip to content
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.

Commit

Permalink
ci(alex): run alex without assuming remote
Browse files Browse the repository at this point in the history
  • Loading branch information
jayjayjpg authored and sivakumar-kailasam committed Aug 31, 2018
1 parent 1819a2c commit 13a6730
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/language-check.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
BLOG_HAS_CHANGES=$(git diff --name-status master source/blog/2*)
git remote add base https://github.com/emberjs/website.git
git fetch base
BLOG_HAS_CHANGES=$(git diff --name-status base/master source/blog/2*)
if [[ $BLOG_HAS_CHANGES ]]
then
alex $(git diff --name-status master source/blog/2* | sed s/^..//)
alex $(git diff --name-status base/master source/blog/2* | sed s/^..//)
fi

0 comments on commit 13a6730

Please sign in to comment.