feat: with acceptest
This commit is contained in:
@@ -27,7 +27,12 @@ func WithPath(path string) OptsFunc {
|
||||
}
|
||||
|
||||
func Format(ctx context.Context, optsFuncs ...OptsFunc) error {
|
||||
opts := &Opts{}
|
||||
opts := &Opts{
|
||||
Path: ".",
|
||||
IgnoredFiles: []string{
|
||||
".shuttle/",
|
||||
},
|
||||
}
|
||||
|
||||
for _, f := range optsFuncs {
|
||||
err := f(ctx, opts)
|
||||
|
Reference in New Issue
Block a user