Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
magic-akari committed Aug 11, 2023
1 parent c655602 commit b3e3a0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ func Format(this js.Value, args []js.Value) any {

output, err := format.Source(input)
if err != nil {
return []interface{}{true, err.Error()}
return []any{true, err.Error()}
}

return []interface{}{false, string(output)}
return []any{false, string(output)}
}

func main() {
Expand Down

0 comments on commit b3e3a0b

Please sign in to comment.