We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A minor issue: golem::add_js_file() will add an extra .js if one already exists on the input name.
golem::add_js_file()
.js
golem::add_js_file("test.js") ✔ File created at /Users/garrick/golemDemo/inst/app/www/test.js.js
I was expecting it to work like usethis::use_r()
usethis::use_r()
use_r("test.R") ● Modify 'R/test.R'
The text was updated successfully, but these errors were encountered:
That definitely shouldn't happen.
I think wrapping the file name in tools::file_path_sans_ext() would solve that.
tools::file_path_sans_ext()
We might have the same thing happening with the other file creators.
I will give it a shot, thanks for reporting that!
Sorry, something went wrong.
Close by #236.
Thanks for the bug report !
No branches or pull requests
A minor issue:
golem::add_js_file()
will add an extra.js
if one already exists on the input name.I was expecting it to work like
usethis::use_r()
The text was updated successfully, but these errors were encountered: