Skip to content

Commit

Permalink
refactor: remove create method
Browse files Browse the repository at this point in the history
Change `create` method to `generate` method
  • Loading branch information
vgbr-dev committed Jun 12, 2023
1 parent dd11379 commit 4b8eb48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ class PasswordToolKit {
* console.log(password);
* ```
*/
create(options) {
generate(options) {
const check = this.checkOptions(options);
if (!check.ok) {
return null;
Expand Down

0 comments on commit 4b8eb48

Please sign in to comment.