Skip to content
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

'file not found' error due to missing .k extension #520

Open
DennisMitchell opened this issue May 16, 2018 · 0 comments
Open

'file not found' error due to missing .k extension #520

DennisMitchell opened this issue May 16, 2018 · 0 comments

Comments

@DennisMitchell
Copy link

Since #507 got closed, Kona script files need a .k extension, and ./k <basename> automatically appends the extension to basename if it's not present.

For files without the extension, this causes a rather confusing error message to be printed.

$ ./k helloworld
helloworld: file not found
$ ls helloworld
helloworld

One solution would be to print the modified filename instead.

$ ./k helloworld
helloworld.k: file not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants