Skip to content

Commit

Permalink
fully quality path to mocha binary (#13)
Browse files Browse the repository at this point in the history
appveyor: fully quality path to mocha binary
  • Loading branch information
msimerson authored Apr 7, 2019
1 parent 4a004aa commit f05bedf
Show file tree
Hide file tree
Showing 6 changed files with 1,736 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
engines:
engines:
eslint:
enabled: true
channel: "eslint-3"
channel: "eslint-4"
config:
config: ".eslintrc.json"
config: ".eslintrc.yaml"

ratings:
paths:
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@

TCP Fingerprinting

Use TCP fingerprint info (remote computer OS, network distance, etc) to
implement more sophisticated anti-spam policies.
Supply TCP fingerprint info (remote computer OS, network distance, etc) about the remote mail server. This can be used to implement more sophisticated anti-spam policies.

This plugin inserts a _p0f_ connection note with information deduced
from the TCP fingerprint. The note typically includes at least the link,
Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
environment:
nodejs_version: "6"
nodejs_version: "8"

install:
- ps: Install-Product node $env:nodejs_version
Expand All @@ -14,7 +14,7 @@ before_test:
- npm --version

test_script:
- npm test
- C:\projects\haraka-plugin-p0f\node_modules\.bin\mocha

after_test:

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class P0FClient {

// Try and reconnect
if (!this.restart_interval) {
this.restart_interval = setInterval(() => { connect(); }, 5 * 1000);
this.restart_interval = setInterval(() => { this.connect(); }, 5 * 1000);
}
// Clear the receive queue
for (let i=0; i<this.receive_queue.length; i++) {
Expand Down
Loading

0 comments on commit f05bedf

Please sign in to comment.