Skip to content

Commit c3798ea

Browse files
committed
style: preferred double quotes
1 parent e07bc2b commit c3798ea

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.devcontainer/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/
1010
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
1111
# && apt-get -y install --no-install-recommends chromium
1212

13+
# Allow yarn key
14+
ENV YARNKEY=yarn-keyring.gpg
15+
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmour -o /usr/share/keyrings/$YARNKEY && \
16+
echo "deb [signed-by=/usr/share/keyrings/$YARNKEY] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
17+
1318
# OS packages required to run the application
1419
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
1520
&& apt-get -y install --no-install-recommends \

lib/ferrum/client/web_socket.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def initialize(url, max_receive_size, logger)
1919
uri = URI.parse(@url)
2020
port = uri.port || DEFAULT_PORTS[uri.scheme]
2121

22-
if port == 443 || url.scheme == 'wss'
22+
if port == 443 || url.scheme == "wss"
2323
tcp = TCPSocket.new(uri.host, port)
2424
ssl_context = OpenSSL::SSL::SSLContext.new
2525
@sock = OpenSSL::SSL::SSLSocket.new(tcp, ssl_context)

0 commit comments

Comments
 (0)