tools/recache.js
// Plus fallback Javascript alternative for Windows.
Plus fallback Javascript alternative for Windows.
Plus fallback Javascript alternative for Windows .
function cp(from, to) {
  var ret = -1;
  try {
    ret = execSync(`mkdir -p '${Path.dirname(to)}' 2>/dev/null;cp '${from}' '${to}'`).toString();
  } catch (err) {
    console.error(`cp ${from} ${to}: ${err}`);
    ret = -1;
  }
  return ret;
}
function cp ( from , to ) { var ret = - 1 ; try { ret = execSync ( ` ${ Path . dirname ( to ) } ${ from } ${ to } ` ) . toString ( ) ; } catch ( err ) { console . error ( ` ${ from } ${ to } ${ err } ` ) ; ret = - 1 ; } return ret ; }
Plus fallback Javascript alternative for Windows.
Plus fallback Javascript alternative for Windows .