Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gabotechs committed Dec 27, 2023
1 parent 6fcf00f commit 00992cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/js/workspaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ func (p *partialPackageJson) workspaces() []string {
return castAnyArray[string](v)
case map[string]any:
if packages, ok := v["packages"]; ok {
switch vv := packages.(type) {
case []any:
if vv, ok := packages.([]any); ok {
return castAnyArray[string](vv)
}
}
Expand Down

0 comments on commit 00992cb

Please sign in to comment.