Skip to content

Commit

Permalink
changed src in renderer.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditya-debug15 committed Apr 25, 2023
1 parent 231a7a1 commit 905c8f8
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions exp_build/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,17 @@ const args = require("minimist")(process.argv.slice(2));
const log = require("../logger.js");


let src = "../";

let LaTeXinMD = false;
let expressions = [];

if (args._.length === 1) {
src = path.resolve(args._[0]);
let src = ".";
if(args.src)
{
src = args.src;
}

let LaTeXinMD = true;
let expressions = [];
let descriptorPath = path.resolve(
src,
`${Config.Experiment.descriptor_name}.json`
`${Config.Experiment.descriptor_name}`
);

if (!shell.test("-f", descriptorPath)) {
Expand Down

0 comments on commit 905c8f8

Please sign in to comment.