New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Doesn't extract puzzles from JS files that has a shebang #214
Comments
Hm, perhaps there is no colon after ticket number?!.. |
Any updates on this? |
I ran
|
It looks like pdd expects that a file type will contain while in this case it doesn't: $ file src/cli.js
src/cli.js: a /usr/bin/env node script text executable, ASCII text |
Nope, the theory doesn't work: $ file --mime src/cli.js
src/cli.js: text/plain; charset=us-ascii |
I debugged it and I found that
Most likely, because it has the following shebang:
|
I confirm: removing a shebang, did the trick -- pdd found all the puzzles in this file. |
@yegor256 Hi Egor, I don't see any activity in this repository. Is the project still maintained? |
@php-coder of course! The latest release was done six month ago. Let me check this bug today. |
@rultor release, tag is |
@php-coder I believe it's fixed. I will release 0pdd soon: yegor256/0pdd#476 |
@yegor256 It was fast! Thanks! |
(Initially submitted against 0pdd but it has been discovered that it's a bug in pdd: yegor256/0pdd#395)
pdd doesn't extract puzzles from JS code. Here are the examples:
At GitHub: https://github.com/php-coder/query2app/blob/27ffed4faa098b8ba006c51b0a3fc8db5552eb7d/src/cli.js#L16
It's supposed that pdd should find these puzzles and create issues for them but it didn't find puzzles there.
The text was updated successfully, but these errors were encountered: