Skip to content

Commit 6cb2cc2

Browse files
authored
lint fix (#22)
1 parent e25dae7 commit 6cb2cc2

File tree

4 files changed

+24
-13
lines changed

4 files changed

+24
-13
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule ".release"]
2+
path = .release
3+
url = git@github.com:msimerson/.release.git

.release

Submodule .release added at 0890e94

Changes.md

+19-12
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
1-
## 2.0.2 - 2022-10-21
1+
### Unreleased
2+
3+
4+
### 2.0.2 - 2023-02-07
25

36
- fix: catching DNS timeout exception
47

5-
## 2.0.1 - 2022-05-27
8+
9+
### 2.0.1 - 2022-05-27
610

711
- fix: when adding headers, assure ASN is string
812
- fix: when adding header, look in correct location for asn.org
913
- when create conn note, only assign properties with values
1014

1115

12-
## 2.0.0 - 2022-05-23
16+
### 2.0.0 - 2022-05-23
1317

1418
- style: replace most callbacks with async/await
1519
- use builtin/promises where available
1620
- asn.ini: switch default dns provider to rspamd
1721
- dep: remove async
1822

1923

20-
## 1.0.9 - 2022-05-22
24+
### 1.0.9 - 2022-05-22
2125

2226
- ci: add GitHub Actions CI, #17
2327
- ci: remove appveyor and travis configs
@@ -27,7 +31,7 @@
2731
- dep(async): bump version to 3.2
2832

2933

30-
## 1.0.8 - 2018-01-22
34+
### 1.0.8 - 2018-01-22
3135

3236
- parse maxmind ASN w/o Org data
3337
- es6: var => const|let, function () => arrow functions
@@ -36,24 +40,27 @@
3640
- emit rspamd DNS provider results (when enabled)
3741

3842

39-
## 1.0.7 - 2017-02-06
43+
### 1.0.7 - 2017-02-06
4044

4145
- updated eslint to use eslint-plugin-haraka
4246
- aggregate results before emitting
4347

4448

45-
## 1.0.6 - 2016-10-20
49+
### 1.0.6 - 2016-10-20
4650

4751
* when protocols[setting]=false, don't enable that protocol
4852
* ie, do what the config implies
4953

5054

51-
## 1.0.5 - 2016-10-08
55+
### 1.0.5 - 2016-10-08
56+
57+
### 1.0.4 - 2016-10-08
58+
59+
### 1.0.2 - 2016-10-06
5260

53-
## 1.0.4 - 2016-10-08
61+
### 1.0.1 - 2016-02-07
5462

55-
## 1.0.2 - 2016-10-06
63+
### 1.0.0 - 2016-07-21
5664

57-
## 1.0.1 - 2016-02-07
5865

59-
## 1.0.0 - 2016-07-21
66+
[2.0.2]: https://github.com/haraka/haraka-plugin-asn/releases/tag/2.0.2

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ exports.get_dns_results = async function (zone, ip) {
107107
const first = addrs[0];
108108

109109
this.logdebug(this, `${zone} answers: ${first}`);
110-
110+
111111
return this.get_result(zone, first);
112112
}
113113
catch (err) {

0 commit comments

Comments
 (0)