Skip to content

Commit

Permalink
daily build fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Dec 15, 2024
1 parent 2347b19 commit 580d1e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .codenarc
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,6 @@ ruleset {
// rulesets/dry.xml
DuplicateListLiteral
DuplicateMapLiteral
DuplicateNumberLiteral
DuplicateStringLiteral

// rulesets/enhanced.xml
CloneWithoutCloneable
Expand Down
6 changes: 2 additions & 4 deletions eo-runtime/src/test/groovy/check-target-files.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

import java.nio.file.Paths

List<String> expected = [
'eo-foreign.csv',
'eo/1-parse/org/eolang/bytes.xmir',
Expand All @@ -47,8 +44,9 @@ List<String> expected = [
]

for (path in expected) {
File f = Paths.get('eo-runtime/target').resolve(path).toFile()
File f = basedir.toPath().resolve('target').resolve(path).toFile()
if (!f.exists()) {
fail("The file '${f}' is not present")
}
log.info("The file is found: ${f}")
}

0 comments on commit 580d1e6

Please sign in to comment.