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

Slappey generates wrong file #118

Open
XPVeixel opened this issue Feb 12, 2022 · 2 comments
Open

Slappey generates wrong file #118

XPVeixel opened this issue Feb 12, 2022 · 2 comments

Comments

@XPVeixel
Copy link

Hello, I am using slappey but when I generate a command it generates a .ts file when I am using js. In the slappey.json it says "language": "js" too

@MCorange99
Copy link

MCorange99 commented Feb 14, 2022

Does it say js or javscript in the config file

could be this line in src/FileSys.ts

​    ​const​ ​extension​ ​=​ ​this​.​language​ ​===​ ​'javascript'​ ? ​'js'​ : ​''ts;

@MCorange99
Copy link

try changing the language to "javascript"

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

No branches or pull requests

2 participants