We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
self
this
1 parent e65c4d2 commit c07ac55Copy full SHA for c07ac55
packages/plugins/mocha-tests/src/lib/index.js
@@ -203,8 +203,8 @@ class MochaTestRunner {
203
204
this.fs.readFile(file, (err, data) => {
205
if (err) {
206
- self.logger.error(__('Error reading file %s', file));
207
- self.logger.error(err);
+ this.logger.error(__('Error reading file %s', file));
+ this.logger.error(err);
208
seriesCb(null, 1);
209
}
210
if (data.toString().search(/contract\(|describe\(/) === -1) {
0 commit comments