Skip to content

Commit

Permalink
fix: remove typos (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
x1unix authored Dec 15, 2024
1 parent 9fdd8bd commit c8bd79b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions internal/server/handler_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@ func (h *APIv2Handler) HandleShare(w http.ResponseWriter, r *http.Request) error
}

snippetID, err := h.cfg.Client.Share(ctx, payload.Reader())
if err != nil {
return err
}
if err != nil {
if isContentLengthError(err) {
return ErrSnippetTooLarge
Expand Down Expand Up @@ -147,6 +144,7 @@ func (h *APIv2Handler) HandleFormat(w http.ResponseWriter, r *http.Request) erro
return nil
}

// HandleRun sends snippet to upstream play.go.dev and returns evaluation result.
func (h *APIv2Handler) HandleRun(w http.ResponseWriter, r *http.Request) error {
ctx := r.Context()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export class GoSymbolsCompletionItemProvider extends CacheBasedCompletionProvide
.trim()

const query = parseExpression(val)
console.log('expr', query)
if (!query) {
return null
}
Expand Down

0 comments on commit c8bd79b

Please sign in to comment.