Skip to content

Commit 27f250a

Browse files
author
Sam Eagen
committed
Lint code
1 parent 6a47b68 commit 27f250a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tasks/install-matlab/v1/src/matlab.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,10 @@ export async function setupBatch(platform: string, architecture: string) {
145145
throw new Error("Failed to add MATLAB to system path.");
146146
}
147147
if (platform !== "win32") {
148-
const exitCode = await taskLib.exec("chmod", ["+x", path.join(matlabBatchPath, "matlab-batch" + matlabBatchExt)]);
148+
const exitCode = await taskLib.exec(
149+
"chmod",
150+
["+x", path.join(matlabBatchPath, "matlab-batch" + matlabBatchExt)],
151+
);
149152
if (exitCode !== 0) {
150153
return Promise.reject(Error("Unable to add execute permissions to matlab-batch binary."));
151154
}

0 commit comments

Comments
 (0)