Skip to content

Commit 0c9d2f1

Browse files
committed
fix lint
1 parent 567d35e commit 0c9d2f1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/@apphosting/adapter-angular/src/bin/build.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
checkBuildConditions,
55
validateOutputDirectory,
66
parseOutputBundleOptions,
7-
outputBundleExists
7+
outputBundleExists,
88
} from "../utils.js";
99
import { getBuildOptions, runBuild } from "@apphosting/common";
1010

@@ -23,9 +23,9 @@ if (!output) {
2323
throw new Error("No output from Angular build command, expecting a build manifest file.");
2424
}
2525
const outputBundleOptions = parseOutputBundleOptions(output);
26-
if (!outputBundleExists(outputBundleOptions)){
26+
if (!outputBundleExists(outputBundleOptions)) {
2727
const root = process.cwd();
2828
await generateBuildOutput(root, outputBundleOptions, process.env.FRAMEWORK_VERSION);
29-
29+
3030
await validateOutputDirectory(outputBundleOptions);
3131
}

packages/@apphosting/adapter-angular/src/utils.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,9 @@ export const isMain = (meta: ImportMeta) => {
227227
return process.argv[1] === fileURLToPath(meta.url);
228228
};
229229

230-
export const outputBundleExists = (outputBundleOptions: OutputBundleOptions) => {
231-
if (existsSync(dirname(outputBundleOptions.bundleYamlPath))){
230+
export const outputBundleExists = (outputBundleOptions: OutputBundleOptions) => {
231+
if (existsSync(dirname(outputBundleOptions.bundleYamlPath))) {
232232
return true;
233233
}
234234
return false;
235-
}
235+
};

0 commit comments

Comments
 (0)