facebook / facebook/jscodeshift
File comment is lost when removing first statement
Aperta
bug
upstream
- Lingua principale
- JavaScript
- Stelle
- 10k
- Fork
- 498
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.