mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
JavaScript: Move tsconfig files into extractor.tsconfig package
Also make the indentation in `CompilerOptions.java` more consistent.
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
package com.semmle.js.dependencies.tsconfig;
|
||||
|
||||
public class CompilerOptions {
|
||||
private String outDir;
|
||||
|
||||
public String getOutDir() {
|
||||
return outDir;
|
||||
}
|
||||
|
||||
public void setOutDir(String outDir) {
|
||||
this.outDir = outDir;
|
||||
}
|
||||
}
|
||||
@@ -39,8 +39,8 @@ import java.util.stream.Stream;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParseException;
|
||||
import com.semmle.js.dependencies.tsconfig.TsConfigJson;
|
||||
import com.semmle.js.dependencies.tsconfig.CompilerOptions;
|
||||
import com.semmle.js.extractor.tsconfig.TsConfigJson;
|
||||
import com.semmle.js.extractor.tsconfig.CompilerOptions;
|
||||
import com.semmle.js.dependencies.AsyncFetcher;
|
||||
import com.semmle.js.dependencies.DependencyResolver;
|
||||
import com.semmle.js.dependencies.packument.PackageJson;
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.semmle.js.extractor.tsconfig;
|
||||
|
||||
public class CompilerOptions {
|
||||
private String outDir;
|
||||
|
||||
public String getOutDir() {
|
||||
return outDir;
|
||||
}
|
||||
|
||||
public void setOutDir(String outDir) {
|
||||
this.outDir = outDir;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.semmle.js.dependencies.tsconfig;
|
||||
package com.semmle.js.extractor.tsconfig;
|
||||
|
||||
public class TsConfigJson {
|
||||
private CompilerOptions compilerOptions;
|
||||
Reference in New Issue
Block a user