Skip to content

Commit 4213100

Browse files
committed
Remove debug
1 parent 634d9ef commit 4213100

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

iot-devices/lib/writer.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,12 @@ const stream = HISTORY_LOG
99

1010
exports.write = function (deviceId, state) {
1111
if (!stream) {
12-
console.log(HISTORY_LOG);
1312
return;
1413
}
1514
if (!deviceId.startsWith('cow')) {
1615
return;
1716
}
1817

19-
if (state.d === 'MOUNTING') {
20-
console.log('MOUNT');
21-
}
22-
2318
const data = JSON.parse(json.format(state, false));
2419
const animal = `urn:ngsi-ld:Animal:${deviceId}`;
2520
const device = `urn:ngsi-ld:Device:${deviceId}`;

0 commit comments

Comments
 (0)