Skip to content

Commit 7f844c6

Browse files
committed
Reformat files with newline at EOF
1 parent 201b375 commit 7f844c6

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

.dev.vars.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
INFLUX_TOKEN="example"
1+
INFLUX_TOKEN="example"

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ jobs:
4343
INFLUX_METRIC_NAME: ${{ env.INFLUX_METRIC }}
4444
INFLUX_URL: ${{ env.INFLUX_URL }}
4545
INFLUX_TOKEN: ${{ secrets.INFLUX_TOKEN }}
46-
INFLUX_DATABASE: ${{ env.INFLUX_DATABASE }}
46+
INFLUX_DATABASE: ${{ env.INFLUX_DATABASE }}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ node_modules/
1212
.wrangler
1313
data/
1414
config/
15-
wrangler.toml
15+
wrangler.toml

bin/worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ export default {
1111
);
1212
return response;
1313
}
14-
}
14+
}

lib/influx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ export const createMetricsFromRequest = (request, env) => {
3232

3333
// We're setting field value to 1 to count the number of requests
3434
return `${env.INFLUX_METRIC_NAME} api_key="${apiKey}" ${timestamp}`
35-
}
35+
}

test/influx.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ describe('createMetricsFromRequest', () => {
5555
expect(result).toContain('test_metric');
5656
expect(result).toContain('api_key="test-key"');
5757
});
58-
});
58+
});

test/worker.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ describe('worker.fetch', () => {
2929
expect(ctx.waitUntil).toHaveBeenCalledWith(reportMetric(request, response, env));
3030
expect(response.status).toBe(200);
3131
});
32-
});
32+
});

0 commit comments

Comments
 (0)