Skip to content

Commit

Permalink
Remove extraneous comma that breaks npm run dev.
Browse files Browse the repository at this point in the history
Resolves this error:
```
λ npm run dev

> [email protected] dev
> npm run compile && concurrently "npm:compile-and-watch" "npm:start"


> [email protected] compile
> coffee -c --no-header -b ../.

/Users/ryanmcquen/code/microstudio/server/webapp.coffee:47:101: error: unexpected ,
    @reserved = ["explore","documentation","projects","about","login","user","tutorials\\/examples",,"tutorials\\/community"]
                                                                                                    ^
```

Related to:
#224
  • Loading branch information
ryanpcmcquen authored Jun 3, 2024
1 parent 8e40b56 commit a2e5cd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/webapp.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class @WebApp
if i==@languages.length-1
home_exp += "|"

@reserved = ["explore","documentation","projects","about","login","user","tutorials\\/examples",,"tutorials\\/community"]
@reserved = ["explore","documentation","projects","about","login","user","tutorials\\/examples","tutorials\\/community"]
@reserved_exact = ["tutorials"]

for r in @reserved
Expand Down

0 comments on commit a2e5cd9

Please sign in to comment.