diff --git a/lib/loadMtl.js b/lib/loadMtl.js index 25b285f..a3fccb6 100644 --- a/lib/loadMtl.js +++ b/lib/loadMtl.js @@ -70,8 +70,8 @@ function loadMtl(mtlPath, options) { const ambientTextureOptions = defined(overridingAmbientTexture) ? undefined : options.packOcclusion - ? decodeOptions - : undefined; + ? decodeOptions + : undefined; const specularTextureOptions = defined(overridingSpecularTexture) ? undefined : decodeOptions; diff --git a/package.json b/package.json index 80d1e5c..ccb1897 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "jsdoc": "^4.0.0", "lint-staged": "^15.0.2", "nyc": "^15.1.0", - "prettier": "3.0.3" + "prettier": "3.1.1" }, "lint-staged": { "*.(js|ts)": [