Skip to content

Commit 87ca110

Browse files
authored
Fix linting issue in official build (#11215)
###### Microsoft Reviewers: codeflow:open?pullrequest=#11215
1 parent 0a6612a commit 87ca110

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,10 +337,13 @@ jobs:
337337
include:
338338
- os: windows-latest
339339
rid: win-x64
340+
runTests: true
340341
- os: ubuntu-latest
341342
rid: linux-x64
343+
runTests: true
342344
- os: macos-latest
343345
rid: osx-x64
346+
runTests: true
344347
- os: ubuntu-latest
345348
rid: win-arm64
346349
runTests: false

src/Bicep.MSBuild.E2eTests/src/example.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ export class Example {
1111

1212
constructor(projectName: string, projectFile?: string) {
1313
const projectDir = path.normalize(
14-
path.join(__dirname, `../examples/${projectName}/`)
14+
path.join(__dirname, `../examples/${projectName}/`),
1515
);
1616
this.projectDir = projectDir;
1717
this.projectFile = path.join(
1818
projectDir,
19-
projectFile ?? `${projectName}.proj`
19+
projectFile ?? `${projectName}.proj`,
2020
);
2121
}
2222

@@ -42,7 +42,7 @@ export class Example {
4242

4343
public publish(
4444
targetFramework: string | null,
45-
expectSuccess = true
45+
expectSuccess = true,
4646
): SpawnSyncReturns<string> {
4747
return this.runMsBuild("publish", targetFramework, expectSuccess);
4848
}
@@ -76,12 +76,12 @@ export class Example {
7676
private runMsBuild(
7777
verb: string,
7878
targetFramework: string | null,
79-
expectSuccess: boolean
79+
expectSuccess: boolean,
8080
): SpawnSyncReturns<string> {
8181
const runtimeSuffix = process.env.RuntimeSuffix;
8282
if (!runtimeSuffix) {
8383
throw new Error(
84-
"Please set the RuntimeSuffix environment variable to a .net runtime ID to run these tests. Possible values: win-x64, linux-x64, osx-x64"
84+
"Please set the RuntimeSuffix environment variable to a .net runtime ID to run these tests. Possible values: win-x64, linux-x64, osx-x64",
8585
);
8686
}
8787
const result = spawn.sync(
@@ -98,7 +98,7 @@ export class Example {
9898
cwd: this.projectDir,
9999
stdio: "pipe",
100100
encoding: "utf-8",
101-
}
101+
},
102102
);
103103

104104
if (expectSuccess && result.status !== 0) {

0 commit comments

Comments
 (0)