@elgato/cli 1.7.0 → 1.7.1

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.
package/dist/index.js CHANGED
@@ -412,7 +412,7 @@ var JsonFileContext = class {
412
412
  this.path = path;
413
413
  this.schema = schema;
414
414
  if (existsSync(this.path)) {
415
- const json = readFileSync(this.path, { encoding: "utf-8" });
415
+ const json = readFileSync(this.path, { encoding: "utf-8" }).replace(/^[\uFEFF]+/, "");
416
416
  ({ errors: this.errors, map: this._map } = this.schema.validate(json));
417
417
  }
418
418
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elgato/cli",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "Stream Deck CLI tool for building with Stream Deck.",
5
5
  "bin": {
6
6
  "streamdeck": "bin/streamdeck.mjs",