Skip to content

Commit c07ac55

Browse files
jrainvilleiurimatias
authored andcommitted
fix(@embark/mocha-tests): change self to this in mocha-tests
1 parent e65c4d2 commit c07ac55

File tree

1 file changed

+2
-2
lines changed
  • packages/plugins/mocha-tests/src/lib

1 file changed

+2
-2
lines changed

packages/plugins/mocha-tests/src/lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ class MochaTestRunner {
203203

204204
this.fs.readFile(file, (err, data) => {
205205
if (err) {
206-
self.logger.error(__('Error reading file %s', file));
207-
self.logger.error(err);
206+
this.logger.error(__('Error reading file %s', file));
207+
this.logger.error(err);
208208
seriesCb(null, 1);
209209
}
210210
if (data.toString().search(/contract\(|describe\(/) === -1) {

0 commit comments

Comments
 (0)