summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2022-01-13 16:31:20 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2022-01-13 16:31:20 +0100
commit3911356ec1ce5c83c0dbdf202b67d597921482e5 (patch)
tree48f8d4b076586a8361b0f8c723c74942f2711374 /lib
parent75ab76e7888df143012afb1cb6b89ccca28a4451 (diff)
downloadpsych-3911356ec1ce5c83c0dbdf202b67d597921482e5.tar.gz
Don't require `strscan` unnecessarily
It does not seem needed, and it's causing issues on Windows when uninstalling `strscan`, because strscan's shared library being used when RubyGems tries to remove it (because its loaded through Psych, which RubyGems uses for loading configuration).
Diffstat (limited to 'lib')
-rw-r--r--lib/psych/scalar_scanner.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/psych/scalar_scanner.rb b/lib/psych/scalar_scanner.rb
index b66ff99..604cb3e 100644
--- a/lib/psych/scalar_scanner.rb
+++ b/lib/psych/scalar_scanner.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require 'strscan'
module Psych
###