Skip to content

Commit dd03af8

Browse files
committed
Add "require 'stringio'"
StringIO needs a "require" to guarantee it's loaded.
1 parent 54e86b3 commit dd03af8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lib/aws_lambda_ric/aws_lambda_marshaller.rb

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
# frozen_string_literal: true
44

5+
require 'stringio'
6+
57
module AwsLambda
68
class Marshaller
79
class << self

test/unit/resources/runtime_handlers/core.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
22

3+
require 'stringio'
4+
35
def ping(event:, context:)
46
resp = {}
57
if event.nil?

0 commit comments

Comments
 (0)