lib/templates.js
function (cb) {
      fs.stat(self.dest, function (err) {
        if (err) {
          // Proxy all errors except not found.
          return void cb(err.code === "ENOENT" ? null : err);
        }

        // Otherwise exists.
        cb(new Error("Path: " + self.dest + " already exists"));
      });
    }
function (cb) {
      fs.stat(self.dest, function (err) {
        if (err) {
          // Proxy all errors except not found.
          return void cb(err.code === "ENOENT" ? null : err);
        }

        // Otherwise exists.
        cb(new Error("Path: " + self.dest + " already exists"));
      });
    }
function ( cb ) { fs . stat ( self . dest , function ( err ) { if ( err ) { // Proxy all errors except not found. return void cb ( err . code === "ENOENT" ? null : err ) ; } // Otherwise exists. cb ( new Error ( "Path: " + self . dest + " already exists" ) ) ; } ) ; }
------------------------------------------------------------------------ Require empty target destination. ------------------------------------------------------------------------
------------------------------------------------------------------------ Require empty target destination . ------------------------------------------------------------------------