tasks/aliases.js
function syncMod(src, dest, mode) {
    if (mode !== false) {
      fs.chmodSync(dest, (mode === true) ? fs.lstatSync(src).mode : mode);
    }
  }
function syncMod(src, dest, mode) {
    if (mode !== false) {
      fs.chmodSync(dest, (mode === true) ? fs.lstatSync(src).mode : mode);
    }
  }
function syncMod ( src , dest , mode ) { if ( mode !== false ) { fs . chmodSync ( dest , ( mode === true ) ? fs . lstatSync ( src ) . mode : mode ) ; } }
Copy file mode from source to destination.
@param {string} src
@param {string} dest
@param {boolean|number} mode
Copy file mode from source to destination .