Skip to content

Commit

Permalink
Don't need to get style CSS anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
ZackBoe committed Jun 3, 2018
1 parent 8f15161 commit 0d173bf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/airliftd/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -443,9 +443,7 @@ func getFile(g *gas.Gas) (int, gas.Outputter) {
formatter := html.New(html.WithClasses())
iterator, err := lexer.Tokenise(nil, contents)

// Get CSS and HTML
cssBuffer := new(bytes.Buffer)
err = formatter.WriteCSS(cssBuffer, s)
// Get HTML
htmlBuffer := new(bytes.Buffer)
err = formatter.Format(htmlBuffer, s, iterator)

Expand Down

0 comments on commit 0d173bf

Please sign in to comment.