Skip to content

Commit

Permalink
fixes lints (#3463)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZephyrTFA authored Oct 1, 2024
1 parent 89b8f30 commit 67894b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- master
jobs:
run_linters:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
if: ${{ ! contains(github.event.head_commit.message, '[ci skip]') }}
name: Run Linters
runs-on: ubuntu-22.04
steps:
Expand Down Expand Up @@ -70,6 +70,7 @@ jobs:
~/dreamchecker > ${GITHUB_WORKSPACE}/output-annotations.txt 2>&1
- name: Annotate Lints
if: always()
uses: yogstation13/DreamAnnotate@v2
with:
outputFile: output-annotations.txt
Expand All @@ -83,7 +84,7 @@ jobs:
cat check_regex_output.txt
compile_all_maps:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
if: ${{ ! contains(github.event.head_commit.message, '[ci skip]') }}
name: Compile Maps
runs-on: ubuntu-latest
steps:
Expand All @@ -105,7 +106,7 @@ jobs:
tools/build/build --ci dm -DCIBUILDING -DCITESTING -DALL_MAPS -DFULL_INIT
run_all_tests:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
if: ${{ ! contains(github.event.head_commit.message, '[ci skip]') }}
name: Integration Tests
strategy:
fail-fast: false
Expand Down Expand Up @@ -135,7 +136,7 @@ jobs:
# minor: ${{ matrix.minor }}

test_windows:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
if: ${{ ! contains(github.event.head_commit.message, '[ci skip]') }}
name: Windows Build
runs-on: windows-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion code/modules/power/apc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/power/apc/auto_name, 25)
// this allows the APC to be embedded in a wall, yet still inside an area
if (building)
setDir(ndir)
tdir = dir// to fix Vars bug
tdir = dir

switch(tdir)
if(NORTH)
Expand Down

0 comments on commit 67894b9

Please sign in to comment.