@needle-tools/gltf-build-pipeline 2.15.7 → 2.15.8

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.
@@ -204,7 +204,10 @@ export class NeedleToktxContext {
204
204
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
205
205
  const [status, stdout, stderr] = await waitExit(spawn('ktx', params, { env: this.env }));
206
206
  if (status !== 0) {
207
- logger.error(`${prefix}: Failed → \n\n${stderr.toString()}`);
207
+ logger.error(`${prefix}: ktx create failed (exit code ${status}) → \n\n${stderr.toString()}`);
208
+ }
209
+ else if (!existsSync(outPath)) {
210
+ logger.error(`${prefix}: ktx create reported success but output file is missing: ${outPath}\n\nstdout: ${stdout}\nstderr: ${stderr}`);
208
211
  }
209
212
  else {
210
213
  const result = await fs.readFile(outPath);
@@ -1 +1 @@
1
- export declare const version = "2.15.7";
1
+ export declare const version = "2.15.8";
@@ -1 +1 @@
1
- export const version = "2.15.7";
1
+ export const version = "2.15.8";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@needle-tools/gltf-build-pipeline",
3
- "version": "2.15.7",
3
+ "version": "2.15.8",
4
4
  "description": "Pipeline and tools for optimizing gltf files using gltf-transform and compression settings within glTF extensions",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
Binary file