 
 
   validate_wrappers:( config )->
-    if config.wrappers is null
+    unless config.wrappers?
       config.wrappers = javascript: 'amd', style: 'amd'
     else
       config.wrappers.javascript ?= 'amd'

    return yes

  validate_destination:( config )->
    if config.destination is null
      msg = 'You need to inform a destination folder, check your config file.'
      return error msg



  setup:( config )=>

    passed = true
    passed and= a = @validate_server config
    passed and= b = @validate_sources config
    passed and= c = @validate_excludes config
    passed and= d = @validate_includes config
    passed and= e = @validate_destination config
    passed and= f = @validate_wrappers config
    passed and= g = @validate_vendors config

    unless passed
      process.exit()
    else
      @confs.push config


  validate_server:( config )->
