You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
538 B
16 lines
538 B
import * as fs from "fs";
|
|
import { SolutionImplementation } from "./SolutionImplementation";
|
|
export class SolutionImplementationReader {
|
|
constructor() {
|
|
const json = fs.readFileSync("solutions.json", "utf-8");
|
|
this.solutionImplementations = JSON.parse(json);
|
|
}
|
|
readSolutionUrl() {
|
|
this.solutionImplementations.forEach((solutionImplementation) => {
|
|
const s = new SolutionImplementation(solutionImplementation.url);
|
|
console.log(JSON.stringify(s, null, 2));
|
|
});
|
|
}
|
|
}
|
|
//# sourceMappingURL=SolutionImplementationReader.js.map
|