removed some console.logs because travis-ci complained

This commit is contained in:
Stephen Ward 2018-09-24 19:14:08 -04:00
parent 78b3452d5d
commit 833ac62c45
1 changed files with 0 additions and 3 deletions

View File

@ -1924,7 +1924,6 @@ function isUint32(value) {
// Validator for mode_t (the S_* constants). Valid numbers or octal strings // Validator for mode_t (the S_* constants). Valid numbers or octal strings
// will be masked with 0o777 to be consistent with the behavior in POSIX APIs. // will be masked with 0o777 to be consistent with the behavior in POSIX APIs.
function validateAndMaskMode(value, def, callback) { function validateAndMaskMode(value, def, callback) {
console.log('Passed in mode: ' + value);
if(typeof def === 'function') { if(typeof def === 'function') {
callback = def; callback = def;
def = undefined; def = undefined;
@ -1932,7 +1931,6 @@ function validateAndMaskMode(value, def, callback) {
if (isUint32(value)) { if (isUint32(value)) {
let newMode = value & FULL_READ_WRITE_EXEC_PERMISSIONS; let newMode = value & FULL_READ_WRITE_EXEC_PERMISSIONS;
console.log('Masked mode: ' + newMode);
return value & FULL_READ_WRITE_EXEC_PERMISSIONS; return value & FULL_READ_WRITE_EXEC_PERMISSIONS;
} }
@ -1953,7 +1951,6 @@ function validateAndMaskMode(value, def, callback) {
return false; return false;
} }
var parsed = parseInt(value, 8); var parsed = parseInt(value, 8);
console.log('Parsed + Masekd mode: ' + parsed & FULL_READ_WRITE_EXEC_PERMISSIONS);
return parsed & FULL_READ_WRITE_EXEC_PERMISSIONS; return parsed & FULL_READ_WRITE_EXEC_PERMISSIONS;
} }