craigmdennis / middleman-gulp-starter

Middleman + Gulp Starter = Static Site Awesomeness
https://youtu.be/-io8EeB3GHI
MIT License
48 stars 5 forks source link

Handle config[:environment] properly as a symbol #27

Closed jgarber closed 8 years ago

jgarber commented 8 years ago

The else was never hit...at least in middleman 4.1.9

puts config[:environment].class
# => :symbol
craigmdennis commented 8 years ago

Nice catch. I think I discovered this in a project using this repo as a base, but never fixed it here. Oops.