Skip to content

Conversation

igfoo
Copy link
Contributor

@igfoo igfoo commented May 20, 2022

This means we handle kotlinc.batr and kotlinc.cmd on Windows.

@yo-h

This means we handle kotlinc.batr and kotlinc.cmd on Windows.
@igfoo igfoo added the Kotlin label May 20, 2022
@igfoo igfoo requested a review from a team as a code owner May 20, 2022 11:46
@github-actions github-actions bot added the Java label May 20, 2022
kotlinc = shutil.which('kotlinc')
if kotlinc is None:
raise KotlincNotFoundException()
versionOutput = subprocess.run(['kotlinc', '-version'], stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True).stderr if fakeVersionOutput is None else fakeVersionOutput
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this 'kotlinc' correct? Shouldn't we use the path in the kotlinc variable instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ta, fixed

@igfoo igfoo merged commit 6652c27 into github:main May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants