Skip to content

Commit 6d9fd03

Browse files
committed
refactor: mv dsl/deparse.go dsl/deparse/deparse.go
1 parent f2086a0 commit 6d9fd03

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

dsl/deparse.go renamed to dsl/deparse/deparse.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package dsl
1+
package deparse
22

33
import (
44
"github.com/pkg/errors"

dsl/execute.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import (
1010

1111
"github.com/pkg/errors"
1212
"github.com/vim-volt/volt/config"
13+
"github.com/vim-volt/volt/dsl/deparse"
1314
"github.com/vim-volt/volt/dsl/dslctx"
1415
"github.com/vim-volt/volt/dsl/ops/util"
1516
"github.com/vim-volt/volt/dsl/types"
@@ -120,7 +121,7 @@ func doExpandMacro(expr types.Expr) (types.Value, error) {
120121
}
121122

122123
func writeTrxLog(ctx context.Context, expr types.Expr) (result error) {
123-
deparsed, err := Deparse(expr)
124+
deparsed, err := deparse.Deparse(expr)
124125
if err != nil {
125126
return errors.Wrap(err, "failed to deparse expression")
126127
}
File renamed without changes.

0 commit comments

Comments
 (0)