Skip to content

Commit

Permalink
updated as per review coments
Browse files Browse the repository at this point in the history
  • Loading branch information
nbhoski committed May 16, 2024
1 parent 9fd251e commit f99223a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ async function run() {
MW_MATLAB_BUILDTOOL_DEFAULT_PLUGINS_FCN_OVERRIDE: 'ciplugins.github.getDefaultPlugins'
};

exec.ExecOptions = {
let opt: exec.ExecOptions = {
env: runBuildEnvVars
};

Expand All @@ -32,7 +32,7 @@ async function run() {
const startupOptions = core.getInput("startup-options").split(" ");

const helperScript = await matlab.generateScript(workspaceDir, command);
await matlab.runCommand(helperScript, platform, architecture, exec.exec, startupOptions);
await matlab.runCommand(helperScript, platform, architecture, exec.exec(opt), startupOptions);

Check failure on line 35 in src/index.ts

View workflow job for this annotation

GitHub Actions / Build and Test

Argument of type 'Promise<number>' is not assignable to parameter of type 'ExecFn'.

Check failure on line 35 in src/index.ts

View workflow job for this annotation

GitHub Actions / Build and Test

Argument of type 'ExecOptions' is not assignable to parameter of type 'string'.
}

run().catch((e) => {
Expand Down

0 comments on commit f99223a

Please sign in to comment.