簡體   English   中英

Hubot錯誤:腳本正在使用不建議使用的文檔語法

[英]Hubot Error: Script is using deprecated documentation syntax

我正在使用docker compose部署Hubot。 在我運行“ docker compose up”之后,一切對我來說都很好。 Hubot在線並且可以工作。 但是,我想向其中添加自己的腳本。 我剛得到一個錯誤:

test.coffee is using deprecated documentation syntax.

這與此問題完全相同 但是我無法解決問題。

有關更多詳細的屏幕截圖,請查看此鏈接

感謝您的建議!

請查看“ Hubot腳本文檔”的“ 文檔腳本 ”部分

截至2018-10-10的當前格式為:

# Description:
#   <description of the scripts functionality>
#
# Dependencies:
#   "<module name>": "<module version>"
#
# Configuration:
#   LIST_OF_ENV_VARS_TO_SET
#
# Commands:
#   hubot <trigger> - <what the respond trigger does>
#   <trigger> - <what the hear trigger does>
#
# Notes:
#   <optional notes required for the script>
#
# Author:
#   <github username of the original script author>

在腳本頂部包含標題。 如果不遵循上述格式,hubot將報告棄用警告。

在我看來,使用這種格式似乎可行。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM