【发布时间】:2019-02-05 09:50:09
【问题描述】:
我正在集成 CI/CD 以部署我的 firebase 功能。
firebase use PROJECTID --token FIREBASE_TOKEN
firebase deploy --token FIREBASE_TOKEN --non-interactive
现在每当从 index.js 中删除一个函数时,它都会引发以下异常。
错误:在您的项目中找到以下函数,但未找到 存在于您的本地源代码中:httpSeeding(us-central1) Aborting 因为在非交互模式下无法进行删除。修理, 通过运行手动删除函数:firebase functions:delete httpSeeding --region us-central1
在非交互模式下有没有办法在不运行的情况下从控制台中删除已删除的函数 firebase functions:delete httpSeeding??
【问题讨论】:
-
这是
firebase-toolsrepo 中的相关 PR:github.com/firebase/firebase-tools/pull/949。于 2018 年 10 月 16 日合并。 -
另一个与
firebase-tools相关的公关:github.com/firebase/firebase-tools/pull/999
标签: firebase google-cloud-firestore google-cloud-functions firebase-cli