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

"util:new-language" doesn't create new end-to-end test files #670

Open
JoshuaKGoldberg opened this issue Nov 24, 2019 · 0 comments
Open

Comments

@JoshuaKGoldberg
Copy link
Member

What's going on?

I tried making a new supported source language:

npm run util:new-language -- --language-name PowerShell --language-extension .ps1 --base-name JavaScript --base-extension .js

Expected

Under each test/end-to-end/* directory, there should be a new directory for the language.

Actual

Error: ENOENT: no such file or directory, open 'C:\Code\budgie\test\end-to-end\Imports\Main.py'
    at Object.openSync (fs.js:454:3)
    at Object.readFileSync (fs.js:354:35)
    at C:\Code\budgie\util\createNewLanguage.js:56:39
    at Map.forEach (<anonymous>)
    at createLanguageTestsUnder (C:\Code\budgie\util\createNewLanguage.js:50:17)
    at createLanguageTests (C:\Code\budgie\util\createNewLanguage.js:62:5)
    at createNewLanguage (C:\Code\budgie\util\createNewLanguage.js:68:5)
    at main (C:\Code\budgie\util\createNewLanguage.js:105:5)
    at Object.<anonymous> (C:\Code\budgie\util\createNewLanguage.js:113:1)
    at Module._compile (internal/modules/cjs/loader.js:759:30)
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

1 participant