add exception list

This commit is contained in:
Wengier 2021-11-27 00:53:21 -05:00
parent a4d431c6c4
commit d0699a381d
5 changed files with 15 additions and 4 deletions

View File

@ -1,9 +1,11 @@
name: Linux builds
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
if: contains('joncampbell123', github.actor) == false
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs

View File

@ -1,9 +1,11 @@
name: macOS builds
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
if: contains('joncampbell123', github.actor) == false
runs-on: macos-latest
steps:
- name: Cancel Previous Runs

View File

@ -1,9 +1,11 @@
name: 32-bit MinGW builds
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
if: contains('joncampbell123', github.actor) == false
runs-on: windows-latest
defaults:
run:

View File

@ -1,9 +1,11 @@
name: 64-bit MinGW builds
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
if: contains('joncampbell123', github.actor) == false
runs-on: windows-latest
defaults:
run:

View File

@ -1494,9 +1494,13 @@ void SERIAL::Run()
} catch (...) {
}
if (port >= 1 && port <= 9) {
showPort(port-1);
return;
}
showPort(port-1);
return;
}
if (port < 1 || port > 9) {
WriteOut("Must specify a port number between 1 and 9.\n");
return;
}
} if (cmd->GetCount() >= 2) {
// Which COM did they want to change?
int port = -1;
@ -1506,7 +1510,6 @@ void SERIAL::Run()
} catch (...) {
}
if (port < 1 || port > 9) {
// Didn't understand the port number.
WriteOut("Must specify a port number between 1 and 9.\n");
return;
}