facebook / facebook/jscodeshift
File comment is lost when removing first statement
オープン
bug
upstream
- 主要言語
- JavaScript
- スター
- 10k
- フォーク
- 498
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
If you have
```
/**
* @providesModule Foo.react
*/
var React = require('React');
```
and remove the require statement, the docblock is lost. This causes build errors and I had to manually fix up a bunch of files with the last codemod I wrote to restore these.
コントリビューションガイド
評価
この issue はまだ評価されていません。