code: function (fp, opts) {
      var dest = path.resolve(this.dest(fp || this.path, opts));
      var file = { contents: this.content, path: dest };
      opts = extend({ ask: true, silent: false }, this.options, opts);
  
      utils.detect(file, opts, function (err) {
        if (file.contents) {
          utils.writeSync(dest, file.contents);
          utils.success('file written to', utils.bold(dest));
        } else {
          utils.copy.sync(this.path, dest);
          utils.success('file copied to', utils.bold(dest));
        }
      });
      return this;
    }
docs: Write the item to disk synchronously.
  
  @name .writeSync
  @param  {String} `fp` Destination filepath.
  @return {Object} Returns the instance for chaining.
  @api public