 
     @__process resourcePath, true, true, (err, content)=>
 
-      return cbfn, err if err
+      return cbfn err if err
 
       @contentProvider.setContent resourcePath, content, (err)=>
 
-        return cbfn, err
+        return cbfn err
 
 
 

    res = @__extractCommonOptions tagString, ['isolated'], resourcePath, content, tagStartIndex, linebreakCharacter, indentCharacter
    return [ tagStartIndex, res ]

  __insertSyncTagContents: ( resourcePath, subResourcePath, subContent, content, tagLineStartIndex, tagLineEndIndex ) ->

    # insert comments
    if @optionMap.insertComments


      return cbfn err if err

      @__processIncludeTag resourcePath, content, (err, content)=>

        return cbfn err if err

