Skip to content

Commit dbdc9b3

Browse files
committed
Fix toLowerCase usage
1 parent 28ddb50 commit dbdc9b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

createChannel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ async function run() {
2222
}
2323
r1.question('public or private? ', async function(status) {
2424
console.log('status', status, typeof status, status.toLowerCase());
25-
if (status.toLowerCase == 'public') {
25+
if (status.toLowerCase() == 'public') {
2626
status = false;
2727
} else if (status.toLowerCase() == 'private') {
2828
status = true;

0 commit comments

Comments
 (0)