Skip to content

Commit

Permalink
Undo super-linter update, fix path issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AnHeuermann committed Mar 4, 2024
1 parent 5b98368 commit ad4b9a1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/linters/.eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ ignorePatterns:
- '**/coverage/.*'
- '*.json'
- '**/dygraph-combined.js'
- '.venv/'

parser: '@typescript-eslint/parser'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

- name: Lint Codebase
id: super-linter
uses: super-linter/super-linter/slim@v6
uses: super-linter/super-linter/slim@v5
env:
DEFAULT_BRANCH: main
FILTER_REGEX_EXCLUDE: (dist/**/*|OSMC-License.txt)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
Modelica 4.0.0
omc-diff: true
- uses: OpenModelica/openmodelica-library-testing@v0.1
- uses: OpenModelica/openmodelica-library-testing@v0.2
with:
library: 'MyLibrary'
library-version: '2.2.0'
Expand Down
4 changes: 1 addition & 3 deletions __tests__/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ describe('config.ts', () => {
if (os.platform() === 'win32') {
modelicaFile = path.join('C:', 'path', 'to', 'MyLibrary', 'package.mo')
} else {
modelicaFile = path.resolve(
path.join('path', 'to', 'MyLibrary', 'package.mo')
)
modelicaFile = path.join('/path', 'to', 'MyLibrary', 'package.mo')
}
const config = new Configuration({
library: 'MyLibrary',
Expand Down
2 changes: 1 addition & 1 deletion badges/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ad4b9a1

Please sign in to comment.