Skip to content

Commit

Permalink
Use string constructor instead of toString
Browse files Browse the repository at this point in the history
  • Loading branch information
sosukesuzuki committed May 28, 2022
1 parent 4e75dc8 commit 831238f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/utils.js
Expand Up @@ -48,7 +48,7 @@ function pick(object, keys) {
* @returns {string}
*/
function createHash(source) {
return sdbm(source).toString();
return String(sdbm(source));
}

/**
Expand Down

0 comments on commit 831238f

Please sign in to comment.