Skip to content

Commit d618169

Browse files
committed
Fixes styling issues
1 parent 7d64a08 commit d618169

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

api/books/format.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import {
2-
compose
2+
compose,
33
} from './util';
44
export const format = (formatter, ...args) => formatter.apply(this, args);
55
export const defaultFormatter = (response, input) => JSON.stringify({
66
response,
7-
input
7+
input,
88
});
99
const slackArrayFormatter = response => response
1010
.map(item => `\u2022 ${item.name}, ${item.format}, ${item.BookId}\n`)

api/books/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
add,
88
} from './lib';
99
import {
10-
partial
10+
partial,
1111
} from './util';
1212
import {
1313
format,
@@ -44,7 +44,7 @@ async function handleSlackRequest(eventBody) {
4444
case 'list':
4545
return list();
4646
case 'add':
47-
return handleBooksAddRequest(eventBody)
47+
return handleBooksAddRequest(eventBody);
4848
case 'get':
4949
return get(params[1]);
5050
case 'search':

api/books/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const Books = dynogels.define('Books', {
2424
rangeKey: 'format',
2525
name: 'NameFormatIndex',
2626
type: 'global',
27-
}, ],
27+
}],
2828
});
2929

3030
dynogels.createTables((err) => {

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = function config(api) {
2-
api.cache.never()
2+
api.cache.never();
33
return {
44
presets: [
55
['@babel/preset-env', {

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ module.exports = {
2525
performance: {
2626
// Turn off size warnings for entry points
2727
hints: false,
28-
}
28+
},
2929
};

0 commit comments

Comments
 (0)