Skip to content

Commit 7cb45fe

Browse files
committed
refactoring(cli): refactoring
1 parent 3aa0284 commit 7cb45fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/cli/lib/config.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ class Local extends Config {
233233

234234
let topics = this.get("topics");
235235
for (let i = 0; i < topics.length; i++) {
236-
if (topics[i]['$id'] == props['$id']) {
236+
if (topics[i]['$id'] === props['$id']) {
237237
topics[i] = props;
238238
this.set("topics", topics);
239239
return;

templates/cli/lib/questions.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ const questionsPushMessagingTopics = [
392392
{
393393
type: "input",
394394
name: "override",
395-
message: 'What you like to override existing topics? This can lead to loss of data! Type "YES" to confirm.'
395+
message: 'Would you like to override existing topics? This can lead to loss of data! Type "YES" to confirm.'
396396
}
397397
]
398398

0 commit comments

Comments
 (0)