Skip to content

Commit

Permalink
fix: client path
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmo314 committed Nov 27, 2023
1 parent 47c5253 commit ef116cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions examples/client/index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<script src="/dist/appendable.min.js"></script>
<script src="/appendable.min.js"></script>
<script>
Appendable.init(
"/examples/workspace/yellow_tripdata_2023-01.jsonl",
"/examples/workspace/yellow_tripdata_2023-01.jsonl.index"
"/green_tripdata_2023-01.jsonl",
"/green_tripdata_2023-01.jsonl.index"
).then(async (db) => {
// populate fields
db.fields().then((fields) => {
Expand Down
3 changes: 0 additions & 3 deletions pkg/appendable/io.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"encoding/json"
"fmt"
"io"
"log"
"sort"
"strings"

Expand Down Expand Up @@ -149,8 +148,6 @@ func (f *IndexFile) Synchronize() error {
// read until the next newline
scanner := bufio.NewScanner(f.data)
for i := 0; scanner.Scan(); i++ {
log.Printf("%v", i)

line := scanner.Bytes()

// create a new json decoder
Expand Down

0 comments on commit ef116cf

Please sign in to comment.