Add bin and edit workflow
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 9s

This commit is contained in:
2026-09-16 13:11:16 -06:00
parent c8ac4fcae5
commit 4cee170d66
17576 changed files with 895740 additions and 2 deletions
@@ -0,0 +1,28 @@
# frozen_string_literal: true
module Sass
# A namespace for built-in Loggers.
#
# @see https://sass-lang.com/documentation/js-api/modules/logger/
module Logger
module_function
# A Logger that silently ignores all warnings and debug messages.
#
# @see https://sass-lang.com/documentation/js-api/variables/logger.silent/
def silent
Silent
end
# A Logger that silently ignores all warnings and debug messages.
module Silent
module_function
def warn(message, options); end
def debug(message, options); end
end
private_constant :Silent
end
end
@@ -0,0 +1,22 @@
# frozen_string_literal: true
module Sass
module Logger
# A specific location within a source file.
#
# This is always associated with a {SourceSpan} which indicates which file it refers to.
#
# @see https://sass-lang.com/documentation/js-api/interfaces/sourcelocation/
class SourceLocation
# @return [Integer]
attr_reader :offset, :line, :column
# @!visibility private
def initialize(source_location)
@offset = source_location.offset
@line = source_location.line
@column = source_location.column
end
end
end
end
@@ -0,0 +1,28 @@
# frozen_string_literal: true
module Sass
module Logger
# A span of text within a source file.
#
# @see https://sass-lang.com/documentation/js-api/interfaces/sourcespan/
class SourceSpan
# @return [SourceLocation]
attr_reader :start, :end
# @return [String]
attr_reader :text
# @return [String, nil]
attr_reader :url, :context
# @!visibility private
def initialize(source_span)
@start = source_span.start.nil? ? nil : Logger::SourceLocation.new(source_span.start)
@end = source_span.end.nil? ? nil : Logger::SourceLocation.new(source_span.end)
@text = source_span.text
@url = source_span.url == '' ? nil : source_span.url
@context = source_span.context == '' ? nil : source_span.context
end
end
end
end