Skip to content

Restore shebang of the CLI entry point - #609

Open
Garfonso wants to merge 2 commits into
ioBroker:mainfrom
Garfonso:fix/bin-shebang
Open

Garfonso wants to merge 2 commits into
ioBroker:mainfrom
Garfonso:fix/bin-shebang

Conversation

@Garfonso

@Garfonso Garfonso commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

The shebang was lost when the code was split into one class per command
(c5176e4). When dev-server is installed from git or via npm link, the
bin link points to dist/index.js and the shell executes it as a shell
script: "import" starts ImageMagick's screenshot tool (looks like a
hang) and line 2 fails with a syntax error.

Co-Authored-By: Claude Opus 5.5 (1M context) noreply@anthropic.com

Garfonso and others added 2 commits October 9, 2026 09:41
The shebang was lost when the code was split into one class per command
(c5176e4). When dev-server is installed from git or via npm link, the
bin link points to dist/index.js and the shell executes it as a shell
script: "import" starts ImageMagick's screenshot tool (looks like a
hang) and line 2 fails with a syntax error.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VbBXwNK1HEqo3JfpuhT6k9

@UncleSamSwiss UncleSamSwiss left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants