 
   generateHelper: ({name, code}) ->
     if @pretend
-      @log "\ngenerated: #{@getRelativePath(name).yellow}"
+      @log "\ngenerated: #{name.yellow}"
       @log indent code.green
     @generatedFiles[name] = code
 

          p.then (currentContents) =>
            if @force || currentContents != code
              filesWritten++
              @log "writing: #{@getRelativePath(name).yellow}"
              fsp.writeFile name, code
            # else
              # @log "already current: #{@getRelativePath(name)}".grey if @verbose
          , (error) =>
            @log "error reading #{@getRelativePath(name)}".red, error

    Promise.all promises
    .then =>

      do (name, code) =>
        filesTotal++
        if @lastGenerator?.generatedFiles[name] == code
          @log "no change: #{name}".grey if @verbose
        else
          p = if fsp.existsSync name
            fsp.readFile name, 'utf8'
