fixed pattern matching for dependency warnings, closes #15

This commit is contained in:
Dan Motzenbecker 2015-10-18 18:33:58 -04:00
parent e3032ed878
commit de6882dd61

View File

@ -306,13 +306,13 @@ init = (projName) ->
catch {message}
logErr \
if message.match /type\:.+lein/i
if message.match /type.+lein/i
'Leiningen is required (http://leiningen.org)'
else if message.match /type\:.+pod/i
else if message.match /type.+pod/i
'CocoaPods is required (https://cocoapods.org)'
else if message.match /type\:.+watchman/i
else if message.match /type.+watchman/i
'Watchman is required (https://facebook.github.io/watchman)'
else if message.match /type\:.+xcodebuild/i
else if message.match /type.+xcodebuild/i
'Xcode Command Line Tools are required'
else
message