Skip to content

Commit 4b8eb48

Browse files
committed
refactor: remove create method
Change `create` method to `generate` method
1 parent dd11379 commit 4b8eb48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ class PasswordToolKit {
198198
* console.log(password);
199199
* ```
200200
*/
201-
create(options) {
201+
generate(options) {
202202
const check = this.checkOptions(options);
203203
if (!check.ok) {
204204
return null;

0 commit comments

Comments
 (0)