Skip to content

Method to check whether the file is valid or not #1505

Method to check whether the file is valid or not

Method to check whether the file is valid or not #1505

Triggered via pull request December 16, 2023 10:32
Status Failure
Total duration 42s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

41 errors and 5 warnings
Run tests on Node.js 10: src/lib/isFileValid.js#L1
Unexpected use of file extension "js" for "./util/assertString.js"
Run tests on Node.js 10: src/lib/isFileValid.js#L2
Unexpected use of file extension "js" for "./util/InvalidArgumentException.js"
Run tests on Node.js 10: src/lib/isFileValid.js#L2
Missing semicolon
Run tests on Node.js 10: src/lib/isFileValid.js#L4
Block must not be padded by blank lines
Run tests on Node.js 10: src/lib/isFileValid.js#L6
Expected indentation of 2 spaces but found 4
Run tests on Node.js 10: src/lib/isFileValid.js#L6
Expected space(s) after "if"
Run tests on Node.js 10: src/lib/isFileValid.js#L6
Missing space before opening brace
Run tests on Node.js 10: src/lib/isFileValid.js#L7
Expected indentation of 4 spaces but found 8
Run tests on Node.js 10: src/lib/isFileValid.js#L8
Expected indentation of 6 spaces but found 12
Run tests on Node.js 10: src/lib/isFileValid.js#L8
Missing semicolon
Run tests on Node.js 12: src/lib/isFileValid.js#L1
Unexpected use of file extension "js" for "./util/assertString.js"
Run tests on Node.js 12: src/lib/isFileValid.js#L2
Unexpected use of file extension "js" for "./util/InvalidArgumentException.js"
Run tests on Node.js 14: src/lib/isFileValid.js#L1
Unexpected use of file extension "js" for "./util/assertString.js"
Run tests on Node.js 12: src/lib/isFileValid.js#L2
Missing semicolon
Run tests on Node.js 14: src/lib/isFileValid.js#L2
Unexpected use of file extension "js" for "./util/InvalidArgumentException.js"
Run tests on Node.js 12: src/lib/isFileValid.js#L4
Block must not be padded by blank lines
Run tests on Node.js 14: src/lib/isFileValid.js#L2
Missing semicolon
Run tests on Node.js 12: src/lib/isFileValid.js#L6
Expected indentation of 2 spaces but found 4
Run tests on Node.js 14: src/lib/isFileValid.js#L4
Block must not be padded by blank lines
Run tests on Node.js 12: src/lib/isFileValid.js#L6
Expected space(s) after "if"
Run tests on Node.js 14: src/lib/isFileValid.js#L6
Expected indentation of 2 spaces but found 4
Run tests on Node.js 12: src/lib/isFileValid.js#L6
Missing space before opening brace
Run tests on Node.js 14: src/lib/isFileValid.js#L6
Expected space(s) after "if"
Run tests on Node.js 12: src/lib/isFileValid.js#L7
Expected indentation of 4 spaces but found 8
Run tests on Node.js 12: src/lib/isFileValid.js#L8
Expected indentation of 6 spaces but found 12
Run tests on Node.js 14: src/lib/isFileValid.js#L6
Missing space before opening brace
Run tests on Node.js 12: src/lib/isFileValid.js#L8
Missing semicolon
Run tests on Node.js 14: src/lib/isFileValid.js#L7
Expected indentation of 4 spaces but found 8
Run tests on Node.js 14: src/lib/isFileValid.js#L8
Expected indentation of 6 spaces but found 12
Run tests on Node.js 14: src/lib/isFileValid.js#L8
Missing semicolon
Run tests on Node.js 8: src/lib/isFileValid.js#L1
Unexpected use of file extension "js" for "./util/assertString.js"
Run tests on Node.js 8: src/lib/isFileValid.js#L2
Unexpected use of file extension "js" for "./util/InvalidArgumentException.js"
Run tests on Node.js 8: src/lib/isFileValid.js#L2
Missing semicolon
Run tests on Node.js 8: src/lib/isFileValid.js#L4
Block must not be padded by blank lines
Run tests on Node.js 8: src/lib/isFileValid.js#L6
Expected indentation of 2 spaces but found 4
Run tests on Node.js 8: src/lib/isFileValid.js#L6
Expected space(s) after "if"
Run tests on Node.js 8: src/lib/isFileValid.js#L6
Missing space before opening brace
Run tests on Node.js 8: src/lib/isFileValid.js#L7
Expected indentation of 4 spaces but found 8
Run tests on Node.js 8: src/lib/isFileValid.js#L8
Expected indentation of 6 spaces but found 12
Run tests on Node.js 8: src/lib/isFileValid.js#L8
Missing semicolon
Run tests on Node.js 6
The operation was canceled.
Run tests on Node.js 10
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2-beta, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run tests on Node.js 12
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2-beta, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run tests on Node.js 14
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2-beta, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run tests on Node.js 8
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2-beta, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run tests on Node.js 6
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2-beta, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/