                   outgoingRelation.to = url: outgoingRelation.targetUrl
                   outgoingRelations.push outgoingRelation
               else
-                warnings.push new errors.SyntaxError(
+                infos.push new errors.SyntaxError(
                   "Skipping non-string JavaScriptAmdRequire item: #{node.print_to_string()}"
                 )
             ), this

    outgoingRelations = []
    syntaxErrors = []
    warnings = []
    assetGraph = @assetGraph

    if assetGraph and assetGraph.requireJsConfig and @incomingRelations.some((incomingRelation) ->

        else
          console.warn warning.message
      ), this
    if infos.length
      infos.forEach ((info) ->
        if @assetGraph
          info.asset = this
          @assetGraph.emit 'info', info
        else
          console.info info.message
      ), this
    return outgoingRelations

JavaScript::__defineSetter__ "text", Text::__lookupSetter__("text")
