mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-15 19:31:26 +00:00
Update shell_command_agent.rb (#1911)
Change to make path accept stored credentials.
This commit is contained in:
parent
3dda1ffb63
commit
70a9c27884
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ module Agents
|
|||
errors.add(:base, "command must be a shell command line string or an array of command line arguments.")
|
||||
end
|
||||
|
||||
unless File.directory?(options['path'])
|
||||
unless File.directory?(interpolated['path'])
|
||||
errors.add(:base, "#{options['path']} is not a real directory.")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue