matterbridge-example-accessory-platform 1.0.16 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1 @@
1
- /* eslint-disable no-console */
2
- import { exec } from 'child_process';
3
-
4
- const command = process.platform === 'win32' ? 'npm link matterbridge' : 'sudo npm link matterbridge';
5
-
6
- exec(command, (error, stdout, stderr) => {
7
- if (error) {
8
- console.error(`exec error: ${error}`);
9
- return;
10
- }
11
- console.log(`stdout: ${stdout}`);
12
- if (stderr) {
13
- console.error(`stderr: ${stderr}`);
14
- }
15
- });
1
+ // Nothing to do in production, just a script to link the matterbridge package in development