This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 8b6ead3 Use File.join for pathname construction
8b6ead3 is described below
commit 8b6ead35da7ba2dd6426a61ff2cc9f2ca94c9c0f
Author: Sebb <[email protected]>
AuthorDate: Sun Feb 14 14:30:07 2021 +0000
Use File.join for pathname construction
---
tools/pubsub2rake.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/pubsub2rake.rb b/tools/pubsub2rake.rb
index 7954cb3..d8ef6a6 100755
--- a/tools/pubsub2rake.rb
+++ b/tools/pubsub2rake.rb
@@ -14,7 +14,7 @@ end
class PubSub
require 'fileutils'
- ALIVE = "/tmp/#{File.basename(__FILE__)}.alive" # TESTING ONLY
+ ALIVE = File.join("/tmp", "#{File.basename(__FILE__)}.alive") # TESTING ONLY
@restartable = false
@updated = false