From 83df336c4ba50a9e1681b2943b72116aa698295f Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Mon, 25 Nov 2024 12:42:12 +1300 Subject: [PATCH] Modernize code. --- .github/workflows/test-coverage.yaml | 2 ++ bake/async/ollama.rb | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 3ab71bf..355b736 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -41,6 +41,8 @@ jobs: - uses: actions/upload-artifact@v4 with: + include-hidden-files: true + if-no-files-found: error name: coverage-${{matrix.os}}-${{matrix.ruby}} path: .covered.db diff --git a/bake/async/ollama.rb b/bake/async/ollama.rb index 20312b7..228b5a8 100644 --- a/bake/async/ollama.rb +++ b/bake/async/ollama.rb @@ -1,7 +1,12 @@ +# frozen_string_literal: true + +# Released under the MIT License. +# Copyright, 2024, by Samuel Williams. + def initialize(...) super - require 'async/ollama/client' + require "async/ollama/client" end def models