Skip to content

Conversation

@SecTex
Copy link
Contributor

@SecTex SecTex commented Mar 29, 2023

The SYMLINK_URL has been updated to fix an issue with the CLI tool that caused it to crash on Windows environments with the error message "SystemError [ERR_TTY_INIT_FAILED]: TTY initialization failed: uv_tty_init returned EBADF (bad file descriptor)".

SecTex added 2 commits March 29, 2023 15:49
The SYMLINK_URL variable is now created using the path.join method, which is more platform-independent and ensures that the correct path separator is used. This improves the reliability of the code and makes it easier to maintain.
@matt-degraffenreid
Copy link
Contributor

This issue was solved in #79 and is waiting to be pulled in.

@di-sukharev di-sukharev changed the base branch from master to dev March 30, 2023 06:41
@di-sukharev di-sukharev merged commit 5d064ac into di-sukharev:dev Mar 30, 2023
@di-sukharev
Copy link
Owner

di-sukharev commented Mar 30, 2023

@SecTex @matt-degraffenreid well.. i've merged it and macos hook started failing, so i removed separator for macos and linux and kept it for windows, lets wait when conflict in #79 is solved and merge it <3

zen0bit pushed a commit to oSoWoSo/opencommit that referenced this pull request Apr 12, 2023
* fix(githook.ts): fix SYMLINK_URL for Windows

* refactor(githook.ts): use path.join to create SYMLINK_URL
The SYMLINK_URL variable is now created using the path.join method, which is more platform-independent and ensures that the correct path separator is used. This improves the reliability of the code and makes it easier to maintain.

---------

Co-authored-by: Maik Stegemann <ms@lis-gmbh.com>
zen0bit pushed a commit to oSoWoSo/opencommit that referenced this pull request Apr 14, 2023
* fix(githook.ts): fix SYMLINK_URL for Windows

* refactor(githook.ts): use path.join to create SYMLINK_URL
The SYMLINK_URL variable is now created using the path.join method, which is more platform-independent and ensures that the correct path separator is used. This improves the reliability of the code and makes it easier to maintain.

---------

Co-authored-by: Maik Stegemann <ms@lis-gmbh.com>
zen0bit pushed a commit to oSoWoSo/opencommit that referenced this pull request Apr 14, 2023
* fix(githook.ts): fix SYMLINK_URL for Windows

* refactor(githook.ts): use path.join to create SYMLINK_URL
The SYMLINK_URL variable is now created using the path.join method, which is more platform-independent and ensures that the correct path separator is used. This improves the reliability of the code and makes it easier to maintain.

---------

Co-authored-by: Maik Stegemann <ms@lis-gmbh.com>
zen0bit pushed a commit to oSoWoSo/opencommit that referenced this pull request Apr 14, 2023
* fix(githook.ts): fix SYMLINK_URL for Windows

* refactor(githook.ts): use path.join to create SYMLINK_URL
The SYMLINK_URL variable is now created using the path.join method, which is more platform-independent and ensures that the correct path separator is used. This improves the reliability of the code and makes it easier to maintain.

---------

Co-authored-by: Maik Stegemann <ms@lis-gmbh.com>
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.

3 participants