Skip to content

Commit f4f589f

Browse files
committed
- [fix] added feedback to plugin loading
1 parent 6fc12a7 commit f4f589f

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ workspace*.code-*
2525

2626
# environment files (not example)
2727
.env
28-
!.env.example
28+
!.env.example*
29+
!*.example

riotpot/utils/emulator/emulator.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ func Register_emulators(validated_emulators []string) *Emulators {
3737
log.Fatal(err)
3838
}
3939

40+
pName, err := p.Lookup("Name")
41+
if err != nil {
42+
panic(err)
43+
}
44+
45+
log.Printf("Loading emulator: %s\n", *pName.(*string))
46+
4047
// find the function Register
4148
rf, err := p.Lookup("Register")
4249
if err != nil {

0 commit comments

Comments
 (0)