Commit c1c76dca authored by bunsenstraat's avatar bunsenstraat

lint

parent 7cc349b6
...@@ -326,10 +326,9 @@ export class WorkSpacePlugin extends PluginClient { ...@@ -326,10 +326,9 @@ export class WorkSpacePlugin extends PluginClient {
} }
} }
async switchfile(dir: string) { async switchfile (dir: string) {
try { try {
const files = await this.call('fileManager', 'switchFile', dir) await this.call('fileManager', 'switchFile', dir)
} catch (e) { } catch (e) {
this.setFeedback(e.message) this.setFeedback(e.message)
} }
...@@ -380,7 +379,7 @@ export class WorkSpacePlugin extends PluginClient { ...@@ -380,7 +379,7 @@ export class WorkSpacePlugin extends PluginClient {
async createWorkSpace (name: string) { async createWorkSpace (name: string) {
try { try {
const s = await this.call('filePanel', 'createWorkspace', name) await this.call('filePanel', 'createWorkspace', name)
} catch (e) { } catch (e) {
this.setFeedback(e.message) this.setFeedback(e.message)
} }
...@@ -523,9 +522,9 @@ export class WorkSpacePlugin extends PluginClient { ...@@ -523,9 +522,9 @@ export class WorkSpacePlugin extends PluginClient {
} }
} }
` `
//await this.call('fileManager', 'setFile', '/modifyVariable.sol', f) // await this.call('fileManager', 'setFile', '/modifyVariable.sol', f)
await this.call('fileManager', 'switchFile', 'tests/4_Ballot_test.sol') await this.call('fileManager', 'switchFile', 'tests/4_Ballot_test.sol')
//await this.call('fileManager', 'setFile', '/modifyVariable_test.sol', t) // await this.call('fileManager', 'setFile', '/modifyVariable_test.sol', t)
const result = await this.call( const result = await this.call(
'solidityUnitTesting', 'solidityUnitTesting',
'testFromPath', 'testFromPath',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment