mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
datetime is not available at this point (#7630)
This commit is contained in:
parent
6439004161
commit
630e9814bc
@ -49,7 +49,7 @@ def run_or_fail_prettier(*patterns)
|
|||||||
end
|
end
|
||||||
|
|
||||||
def log(message)
|
def log(message)
|
||||||
puts "[#{DateTime.now.strftime("%Y-%m-%d %H:%M:%S")}] #{message}"
|
puts "[#{Time.now.strftime("%Y-%m-%d %H:%M:%S")}] #{message}"
|
||||||
end
|
end
|
||||||
|
|
||||||
desc 'Run all tests (JS and code in a standalone environment)'
|
desc 'Run all tests (JS and code in a standalone environment)'
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
puts "travis_fold:end:starting_docker_container" if ENV["TRAVIS"]
|
puts "travis_fold:end:starting_docker_container" if ENV["TRAVIS"]
|
||||||
|
|
||||||
def log(message)
|
def log(message)
|
||||||
puts "[#{DateTime.now.strftime("%Y-%m-%d %H:%M:%S")}] #{message}"
|
puts "[#{Time.now.strftime("%Y-%m-%d %H:%M:%S")}] #{message}"
|
||||||
end
|
end
|
||||||
|
|
||||||
def run_or_fail(command)
|
def run_or_fail(command)
|
||||||
|
Loading…
Reference in New Issue
Block a user