+filterAshburn = (text) ->
+  String(text).replace(/^.*\[ash\].*$/gm, '').replace(/^.*\.ash\.shopify\.com.*$/gm, '').replace('[chi]','')
+    
 # Abstract, need to implement @refresh and @parse
 class BaseTaskWidget
   constructor: ->

    @capistranoTask = "assets:upload"

  update: (text) ->
    parser = new CapistranoParser(text)
    unless @active
      res = parser.findTaskStart(@capistranoTask)
      return unless res

    @tasks = {}

  update: (text) ->
    parser = new CapistranoParser(filterAshburn(text))
    unless @active
      res = parser.findTaskStart(@capistranoTask)
      return unless res
