Skip to content
Permalink
Browse files

Update site.coffee

  • Loading branch information
koenbok committed Mar 11, 2017
1 parent 4c68120 commit d778b25dfd74e82962f86d60a2b515b2b3d2f7ca
Showing with 5 additions and 4 deletions.
  1. +5 −4 scripts/site.coffee
@@ -23,8 +23,11 @@ Config =
main = ->
exec "git config --local --get remote.origin.url", (err, output) ->
output = output.trim()
if output != "git@github.com:koenbok/framer.git"
throw Error("Not the right repo: '#{output}'")
output = output.toLowerCase()
if output not in [
"git@github.com:koenbok/framer.git",
"https://github.com/koenbok/Framer.git"]
throw Error("Not the right repo: '#{output}'")
_main()

_main = ->
@@ -57,8 +60,6 @@ build = ->
exec "git log --pretty=format:\"%h\t%an\t%ad\t%s\" --first-parent master", (err, output) ->
throw err if err

console.log output

start = false

for line in output.split "\n"

0 comments on commit d778b25

Please sign in to comment.
You can’t perform that action at this time.