Skip to content

Commit 406fadc

Browse files
author
AJ Keller
committed
Fix lint errors
1 parent 9d9bbb8 commit 406fadc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

openBCIUtilities.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ function transformRawDataPacketToSample (o) {
938938
default:
939939
// Don't do anything if the packet is not defined
940940
sample = {
941-
error: `bad stop byte ${o.rawDataPacket.slice(32,33).toString('hex')}`,
941+
error: `bad stop byte ${o.rawDataPacket.slice(32, 33).toString('hex')}`,
942942
valid: false,
943943
rawDataPacket: o.rawDataPacket
944944
};

test/openBCIUtilities-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2143,7 +2143,7 @@ describe('#transformRawDataPacketToSample', function () {
21432143
expect(funcSpyTimeSyncedRawAux).to.not.have.been.called();
21442144
});
21452145
it('should throw err when no channel settings', function () {
2146-
var buffer = new Buffer(5).fill(0)
2146+
var buffer = new Buffer(5).fill(0);
21472147

21482148
// Call the function under test
21492149
let sample = openBCIUtilities.transformRawDataPacketToSample({

0 commit comments

Comments
 (0)