Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
patinthehat committed Aug 30, 2023
1 parent 099cef3 commit 0e49826
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/scripting/extensions/vars_extension/scriptVars.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package varsextension

import (
"fmt"

"github.com/stackup-app/stackup/lib/types"
)

Expand All @@ -14,15 +12,13 @@ func Create(e types.JavaScriptEngineContract) *ScriptVars {
return &ScriptVars{
engine: e,
}
// e.Vm.Set("vars", obj)
}

func (sv *ScriptVars) GetName() string {
return "vars"
}

func (ex *ScriptVars) OnInstall(engine types.JavaScriptEngineContract) {
fmt.Printf("ex == %v\n", ex)
engine.GetVm().Set(ex.GetName(), ex)
}

Expand Down

0 comments on commit 0e49826

Please sign in to comment.