Skip to content

Commit

Permalink
Update prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ankittrehan2000 committed Jan 2, 2024
1 parent 79024c6 commit f7b0739
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions bin/gltf-pipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ const run = inputIsBinary
? processGlb
: glbToGltf
: outputIsBinary
? gltfToGlb
: processGltf;
? gltfToGlb
: processGltf;

function saveSeparateResources(separateResources) {
const resourcePromises = [];
Expand Down
5 changes: 2 additions & 3 deletions lib/removeUnusedElements.js
Original file line number Diff line number Diff line change
Expand Up @@ -593,9 +593,8 @@ getListOfElementsIdsInUse.buffer = function (gltf) {
defined(bufferView.extensions) &&
defined(bufferView.extensions.EXT_meshopt_compression)
) {
usedBufferIds[
bufferView.extensions.EXT_meshopt_compression.buffer
] = true;
usedBufferIds[bufferView.extensions.EXT_meshopt_compression.buffer] =
true;
}
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"jasmine-spec-reporter": "^7.0.0",
"jsdoc": "^4.0.0",
"nyc": "^15.1.0",
"prettier": "3.0.3",
"prettier": "3.1.1",
"lint-staged": "^15.0.2"
},
"lint-staged": {
Expand Down

0 comments on commit f7b0739

Please sign in to comment.