Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
substrate-tip-bot
Commits
5cadc69a
Commit
5cadc69a
authored
Sep 27, 2021
by
Shawn Tabrizi
Browse files
typo
parent
499b9206
Changes
1
Hide whitespace changes
Inline
Side-by-side
index.js
View file @
5cadc69a
...
...
@@ -53,7 +53,7 @@ module.exports = (app) => {
problemsText
.
push
(
`Contributor did not properly post their Polkadot or Kusama address. Make sure the pull request has: "{network} address: {address}".`
);
}
else
{
network
=
maybeMatch
[
1
].
toLowerCase
();
if
(
!
[
"
polkadot
"
,
"
kusma
"
,
"
localtest
"
].
includes
(
network
))
{
if
(
!
[
"
polkadot
"
,
"
kus
a
ma
"
,
"
localtest
"
].
includes
(
network
))
{
problemsText
.
push
(
`Invalid network:
${
maybeMatch
[
1
]}
. Please select "polkadot" or "kusama".`
);
}
address
=
maybeMatch
[
2
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment