Skip to content

Commit

Permalink
[UPDATE] fix: delete debug information
Browse files Browse the repository at this point in the history
  • Loading branch information
oxUnd committed Dec 31, 2018
1 parent c0efbc5 commit 3efeebd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ prototype = {

if (height === undefined) {
size = this.size();
console.log(size);
height = width * size.height / size.width;
}
this.width(width).height(height);
Expand Down
1 change: 0 additions & 1 deletion scripts/util/binding.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ var errors = require('./errors'),
*/
module.exports = function() {
var binaryPath;
console.log(extensions.getBuildBinaryPath());
if (extensions.hasBinary(extensions.getBuildBinaryPath())) {
return require(extensions.getBuildBinaryPath());
}
Expand Down
8 changes: 3 additions & 5 deletions src/Image.cc
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,10 @@ using v8::Object;
status = napi_typeof(env, arg, &valuetype); \
assert(status == napi_ok); \
if (valuetype != napi_undefined) { \
status = func(env, arg, valueRef); \
status = func(env, arg, valueRef); \
assert(status == napi_ok); \
} else { \
printf(#arg " undefined\n"); \
} \
} while(0); \
} \
} while(0);

#define STRINGFY(n) #n
#define MERGE_FILE_LINE(file, line, msg) ( file ":" STRINGFY(line) " " msg)
Expand Down

0 comments on commit 3efeebd

Please sign in to comment.