Skip to content

Commit 67d8a7d

Browse files
committed
fix: pass a function to avrgirl for debugging
1 parent 62ab671 commit 67d8a7d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/interchange.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ Interchange.prototype.clean_temp_dir = function(tmpdir) {
2424
// takes a temporary directory and cleans up any files within it and
2525
// then calls the callback to remove itself.
2626
if (tmpdir != undefined && tmpdir !== null && tmpdir !== '') {
27-
tmpdir.removeCallback();
2827
fsextra.removeSync(tmpdir.name);
2928
}
3029
};
@@ -143,7 +142,7 @@ Interchange.prototype.flash_firmware = function(firmware, opts) {
143142
const avrgirl = new Avrgirl({
144143
board,
145144
port,
146-
debug: true
145+
debug: () => {}
147146
});
148147

149148
avrgirl.flash(firmware, (err) => {

0 commit comments

Comments
 (0)