Skip to content

Commit

Permalink
Merge pull request #593 from github/aibaars/ruby-is-interpreted
Browse files Browse the repository at this point in the history
Add Ruby to 'isInterpretedLanguage'
  • Loading branch information
aibaars authored Jun 24, 2021
2 parents ac402bf + a1f71cf commit 590c245
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/analysis-paths.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/analysis-paths.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/analysis-paths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import * as configUtils from "./config-utils";
import { Logger } from "./logging";

function isInterpretedLanguage(language): boolean {
return language === "javascript" || language === "python";
return (
language === "javascript" || language === "python" || language === "ruby"
);
}

// Matches a string containing only characters that are legal to include in paths on windows.
Expand Down

0 comments on commit 590c245

Please sign in to comment.