Skip to content

Commit c469209

Browse files
committed
fix: some typos
1 parent 240b894 commit c469209

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const ensureArray = x => x instanceof Array ? x : [x]
1212
const solrPost = config => path => (data, coreOpt = '') => {
1313
const core = coreOpt || config.core
1414
if (!core) {
15-
throw new Error('core nor specified')
15+
throw new Error('core not specified')
1616
}
1717

1818
const solrUrl = url.format({
@@ -37,7 +37,7 @@ const solrPost = config => path => (data, coreOpt = '') => {
3737
const solrGet = config => path => (query = {}, coreOpt = '') => {
3838
const core = coreOpt || query.core || config.core
3939
if (!core) {
40-
throw new Error('core nor specified')
40+
throw new Error('core not specified')
4141
}
4242

4343
delete query.core

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "node-solr-lambda",
33
"version": "0.1.0",
4-
"description": "Minimalistiv Solr client written in functional programming style",
4+
"description": "Minimalistic Solr client written in functional programming style",
55
"main": "index.js",
66
"repository": "https://github.com/vsimko/node-solr-lambda.git",
77
"author": "Viliam Simko <viliam.simko@gmail.com>",

0 commit comments

Comments
 (0)