Skip to content

Commit

Permalink
Address lint rules, see phetsims/chipper#1276
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Jul 11, 2022
1 parent 992a7da commit 9ec92ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/routeHandlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ module.exports.saveStrings = async function( request, response ) {
// Loop through the string descriptions in the post request, saving each one.
for ( const stringDescription in request.body ) {

if ( !Object.hasOwnProperty.call( request.body, stringDescription ) ) {
if ( !Object.hasOwn( request.body, stringDescription ) ) {
continue;
}

Expand Down

0 comments on commit 9ec92ef

Please sign in to comment.