【问题标题】:Unexpected file being saved when I use VScode + angular + git + protractor当我使用 VScode + angular + git + protractor 时,意外的文件被保存
【发布时间】:2018-12-14 21:23:37
【问题描述】:

当我在我的代码库中编辑一个文件时,意外的文件将像这样保存。

请帮我解决这个奇怪的问题。

【问题讨论】:

  • 文件包含什么?它们是在存储库的根目录中,还是在子目录中?
  • 它们是空文件,里面什么都没有。它们在我的回购的根目录中。感谢您的回复。

标签: angular git github visual-studio-code protractor


【解决方案1】:

看看这是否类似于“protractor/issue 4144: Cannot prevent logs and other empty files creation”。

如果 user-data-dir(在 angular config 中)错误地设置为 .,这将解释在您的根工作区中生成的临时文件。

【讨论】:

  • 我检查了我们的 protractor.config 文件,但没有设置 user-data-dir。
猜你喜欢
  • 2020-01-31
  • 1970-01-01
  • 1970-01-01
  • 2021-10-17
  • 1970-01-01
  • 2020-06-14
  • 1970-01-01
  • 2020-10-28
  • 2018-11-16
相关资源
最近更新 更多