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

Support for TSLint processor #65

Closed
wants to merge 1 commit into from
Closed

Support for TSLint processor #65

wants to merge 1 commit into from

Conversation

damianszczepanik
Copy link
Contributor

No description provided.

private String executeTSLint(String[] commands) throws ReviewException {
try {
log.info("Running native process: " + StringUtils.join(commands, " "));
ProcessBuilder builder = new ProcessBuilder(commands);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think that using sputnik to execute another node process is a good idea. Maybe it's possible to just pass the output of tslint to sputnik directly (e.g. as some runtime parameter?). @SpOOnman wdyt?

@SpOOnman
Copy link
Collaborator

@pjagielski it's not the best idea. We use Mozilla Rhino already but I think it won't be enough for TSLint?

@pjagielski
Copy link
Collaborator

We finally decided to allow external tool execution. I merged your branch with master and added some abstraction over executing external commands - see #139

@pjagielski pjagielski closed this Apr 5, 2016
@damianszczepanik damianszczepanik deleted the tslint-support branch April 5, 2016 19:22
@damianszczepanik
Copy link
Contributor Author

After one year :-)
anyway - better than keeping this unresolved!

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

Successfully merging this pull request may close these issues.

3 participants