about summary refs log tree commit homepage
path: root/bin/dtas-player
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-01-21 07:53:36 +0000
committerEric Wong <e@80x24.org>2022-01-21 20:29:57 +0000
commitf7af7dff0f88dad216d90c4f4c32893ea5f31b9a (patch)
tree4f946ca30bb6ca570fe9032279cec8e23ff5a03f /bin/dtas-player
parent7243de1955b30b2b83fb0242d2dc5112f2c8055d (diff)
downloaddtas-f7af7dff0f88dad216d90c4f4c32893ea5f31b9a.tar.gz
We use DTAS.yaml_load to wrap all YAML.*load calls, but
we still need "require 'yaml'" for various .to_yaml calls.
Diffstat (limited to 'bin/dtas-player')
-rwxr-xr-xbin/dtas-player3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/dtas-player b/bin/dtas-player
index 21bc45f..c926e5f 100755
--- a/bin/dtas-player
+++ b/bin/dtas-player
@@ -1,9 +1,8 @@
 #!/usr/bin/env ruby
-# Copyright (C) 2013-2020 all contributors <dtas-all@nongnu.org>
+# Copyright (C) all contributors <dtas-all@nongnu.org>
 # License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>
 # frozen_string_literal: true
 Thread.abort_on_exception = $stderr.sync = $stdout.sync = true
-require 'yaml'
 require 'dtas/player'
 sock = (ENV["DTAS_PLAYER_SOCK"] || File.expand_path("~/.dtas/player.sock"))
 state = (ENV["DTAS_PLAYER_STATE"] ||