Skip to content
Snippets Groups Projects
Commit 0c51969e authored by Aymeric Bernard's avatar Aymeric Bernard
Browse files

Removed badge.js and gitignored dummy badge wrapper

parent ac9cf296
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@ build/
server/config.js
front/src/config.js
scripts/nfc-poll-wrapper-dummy.sh
# *.pub
# *.key
const path = require('path');
const { spawn } = require('child_process');
const child = spawn(path.resolve(__dirname, '../scripts/nfc-poll-wrapper.sh'));
child.on('exit', (code, signal) => {
console.log(`child process exited with code ${code} and signal ${signal}`);
});
child.stdout.on('data', (data0) => {
const data = data0.toString().trim();
console.log(`child stdout: ${data}`);
});
child.stderr.on('data', (data0) => {
const data = data0.toString().trim();
console.error(`child stderr: ${data}`);
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment