pull/3094/head
Grandschtroumpf 6 years ago committed by yann300
parent fd799cc392
commit d8368705c1
  1. 2
      src/app/files/fileManager.js
  2. 2
      src/app/tabs/test-tab.js

@ -213,7 +213,7 @@ class FileManager {
// TODO : Change provider with promise // TODO : Change provider with promise
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
provider.resolveDirectory(path, (error, filesTree) => { provider.resolveDirectory(path, (error, filesTree) => {
if(error) reject(error) if (error) reject(error)
resolve(filesTree) resolve(filesTree)
}) })
}) })

@ -105,7 +105,7 @@ module.exports = class TestTab {
} }
cb(null, tests) cb(null, tests)
}) })
.catch(err => cb(error)) .catch(err => cb(err))
} }
self._deps.filePanel.event.register('newTestFileCreated', file => { self._deps.filePanel.event.register('newTestFileCreated', file => {

Loading…
Cancel
Save