Fix spelling

This commit is contained in:
Franck Royer 2021-04-23 15:21:51 +10:00
parent b8434dcaa1
commit 928ae5128e
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
3 changed files with 7 additions and 6 deletions

View File

@ -57,6 +57,7 @@
"upgrader",
"waku",
"wakunode",
"webfonts",
"websockets"
],
"flagWords": [],

View File

@ -30,7 +30,7 @@
"test": "run-s build test:*",
"test:lint": "eslint src --ext .ts --ext .tsx",
"test:prettier": "prettier \"src/**/*.{ts,tsx}\" --list-different",
"test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.ts}\"",
"test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.{ts,tsx},public/**/*.html}\"",
"fix:prettier": "prettier \"src/**/*.{ts,tsx}\" --write",
"fix:lint": "eslint src --ext .ts --ext .tsx --fix",
"js-waku:install": "cd ../; npm install",

View File

@ -123,7 +123,7 @@ export default function App() {
);
}
} catch (e) {
commandResponses.push('Invalid multaddr: ' + e);
commandResponses.push('Invalid multiaddr: ' + e);
}
}
break;
@ -137,10 +137,10 @@ export default function App() {
addresses = addresses.replace(/,$/, '');
addresses += ']';
commandResponses.push(addresses);
let protos = ' protos: [';
protos += peer.protocols;
protos += ']';
commandResponses.push(protos);
let protocols = ' protocols: [';
protocols += peer.protocols;
protocols += ']';
commandResponses.push(protocols);
});
break;
default: