Skip to content

Commit 77d6869

Browse files
philnashdkundel
authored andcommitted
Merge branch 'daphnesmit-patch-3'
1 parent 3b99c3b commit 77d6869

File tree

1 file changed

+2
-3
lines changed
  • packages/create-twilio-function/src/create-twilio-function

1 file changed

+2
-3
lines changed

packages/create-twilio-function/src/create-twilio-function/prompt.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ const validateProjectName = require('./validate-project-name');
44
function validateAccountSid(input) {
55
if (input.startsWith('AC') || input === '') {
66
return true;
7-
} else {
8-
return 'An Account SID starts with "AC".';
9-
}
7+
}
8+
return 'An Account SID starts with "AC".';
109
}
1110

1211
async function promptForAccountDetails(config) {

0 commit comments

Comments
 (0)