Skip to content

Commit

Permalink
Test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
r-czajkowski committed Nov 17, 2023
1 parent 863563c commit fd8b904
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
- gh-workflows-per-workspace
paths:
- "core/**"
pull_request:
Expand Down Expand Up @@ -41,6 +40,9 @@ jobs:
- name: Install Dependencies in core package
run: yarn install --prefer-offline --frozen-lockfile

- name: Make the script file executable
run: cd .. && chmod +x lint.sh

- name: Format
run: cd .. && yarn format -w core

Expand Down
8 changes: 4 additions & 4 deletions lint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set -euo pipefail
set -eu

# Defaults, can be overwritten by input parameters.
WORKSPACE_DEFAULT=""
Expand Down Expand Up @@ -56,7 +56,7 @@ then
fi


function lint_js() {
function lint_js {
fix_flag=""
if($FIX)
then
Expand All @@ -69,7 +69,7 @@ function lint_js() {
eval "$cmd"
}

function lint_config() {
function lint_config {
fix_flag="-c"
if($FIX)
then
Expand All @@ -82,7 +82,7 @@ function lint_config() {
eval "$cmd"
}

function lint_sol() {
function lint_sol {
prettier_fix_flag="-c"
solhint_fix_flag=""
if($FIX)
Expand Down

0 comments on commit fd8b904

Please sign in to comment.