如何修复"/app/scripts/[foo].咖啡使用了不推荐使用的文档语法"在胡闹吗? [英] how do I fix "/app/scripts/[foo].coffee is using deprecated documentation syntax" in hubot?

查看:91
本文介绍了如何修复"/app/scripts/[foo].咖啡使用了不推荐使用的文档语法"在胡闹吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

检查我的机器人的heroku日志是否显示如下消息:

/app/scripts/tigger.coffee使用的文档语法已弃用

但是我似乎找不到应该弃用的文档语法是什么...

解决方案

通常是由于顶部的 TomDoc 文件.有一个很好的例子,可以在此处

checking the heroku logs for my bot is showing messages like:

/app/scripts/tigger.coffee is using deprecated documentation syntax

but I can't seem to find what the undeprecated documentation syntax should be ...

解决方案

It's normally due to the TomDoc at the top of the files. There's a good example for a correct one here

这篇关于如何修复"/app/scripts/[foo].咖啡使用了不推荐使用的文档语法"在胡闹吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆