Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
4532a3b8
Commit
4532a3b8
authored
May 28, 2021
by
filip mertens
Committed by
aniket-engg
May 31, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes for deactivating hardhat
parent
3a96a09d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
remixd-handle.js
apps/remix-ide/src/app/files/remixd-handle.js
+0
-1
remixAppManager.js
apps/remix-ide/src/remixAppManager.js
+2
-0
No files found.
apps/remix-ide/src/app/files/remixd-handle.js
View file @
4532a3b8
...
...
@@ -53,7 +53,6 @@ export class RemixdHandle extends WebsocketPlugin {
async
canceled
()
{
// await this.appManager.deactivatePlugin('git') // plugin call doesn't work.. see issue https://github.com/ethereum/remix-plugin/issues/342
await
this
.
appManager
.
deactivatePlugin
(
'remixd'
)
await
this
.
appManager
.
deactivatePlugin
(
'hardhat'
)
}
/**
...
...
apps/remix-ide/src/remixAppManager.js
View file @
4532a3b8
...
...
@@ -53,6 +53,8 @@ export class RemixAppManager extends PluginManager {
}
async
deactivatePlugin
(
name
)
{
const
isActive
=
await
this
.
isActive
(
name
)
if
(
!
isActive
)
return
const
[
to
,
from
]
=
[
await
this
.
getProfile
(
name
),
await
this
.
getProfile
(
this
.
requestFrom
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment