mirror of https://github.com/waku-org/js-waku.git
Fix spelling
This commit is contained in:
parent
b8434dcaa1
commit
928ae5128e
|
@ -57,6 +57,7 @@
|
||||||
"upgrader",
|
"upgrader",
|
||||||
"waku",
|
"waku",
|
||||||
"wakunode",
|
"wakunode",
|
||||||
|
"webfonts",
|
||||||
"websockets"
|
"websockets"
|
||||||
],
|
],
|
||||||
"flagWords": [],
|
"flagWords": [],
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
"test": "run-s build test:*",
|
"test": "run-s build test:*",
|
||||||
"test:lint": "eslint src --ext .ts --ext .tsx",
|
"test:lint": "eslint src --ext .ts --ext .tsx",
|
||||||
"test:prettier": "prettier \"src/**/*.{ts,tsx}\" --list-different",
|
"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:prettier": "prettier \"src/**/*.{ts,tsx}\" --write",
|
||||||
"fix:lint": "eslint src --ext .ts --ext .tsx --fix",
|
"fix:lint": "eslint src --ext .ts --ext .tsx --fix",
|
||||||
"js-waku:install": "cd ../; npm install",
|
"js-waku:install": "cd ../; npm install",
|
||||||
|
|
|
@ -123,7 +123,7 @@ export default function App() {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
commandResponses.push('Invalid multaddr: ' + e);
|
commandResponses.push('Invalid multiaddr: ' + e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -137,10 +137,10 @@ export default function App() {
|
||||||
addresses = addresses.replace(/,$/, '');
|
addresses = addresses.replace(/,$/, '');
|
||||||
addresses += ']';
|
addresses += ']';
|
||||||
commandResponses.push(addresses);
|
commandResponses.push(addresses);
|
||||||
let protos = ' protos: [';
|
let protocols = ' protocols: [';
|
||||||
protos += peer.protocols;
|
protocols += peer.protocols;
|
||||||
protos += ']';
|
protocols += ']';
|
||||||
commandResponses.push(protos);
|
commandResponses.push(protocols);
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue