Skip to content

Commit c693a8a

Browse files
committed
fix lint
1 parent eaa0590 commit c693a8a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const { stdout: output } = await runBuild();
2222
if (!output) {
2323
throw new Error("No output from Angular build command, expecting a build manifest file.");
2424
}
25-
if (!outputBundleExists()){
25+
if (!outputBundleExists()) {
2626
const outputBundleOptions = parseOutputBundleOptions(output);
2727
const root = process.cwd();
2828
await generateBuildOutput(root, outputBundleOptions, process.env.FRAMEWORK_VERSION);

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const SIMPLE_SERVER_FILE_PATH = join(__dirname, "simple-server", "bundled_server
2626

2727
export const ALLOWED_BUILDERS = [
2828
"@angular-devkit/build-angular:application",
29-
"@analogjs/platform:vite"
29+
"@analogjs/platform:vite",
3030
];
3131

3232
/**
@@ -43,8 +43,8 @@ export async function checkBuildConditions(opts: BuildOptions): Promise<void> {
4343
const builder = projectJson.targets.build.executor;
4444
if (!ALLOWED_BUILDERS.includes(builder)) {
4545
throw new Error(
46-
`Currently, only the following builders are supported: ${ALLOWED_BUILDERS.join(',')}.`,
47-
)
46+
`Currently, only the following builders are supported: ${ALLOWED_BUILDERS.join(",")}.`,
47+
);
4848
}
4949
return;
5050
}
@@ -80,7 +80,7 @@ export async function checkBuildConditions(opts: BuildOptions): Promise<void> {
8080
const { builder } = workspaceProject.targets.get(target)!;
8181
if (!ALLOWED_BUILDERS.includes(builder)) {
8282
throw new Error(
83-
`Currently, only the following builders are supported: ${ALLOWED_BUILDERS.join(',')}.`,
83+
`Currently, only the following builders are supported: ${ALLOWED_BUILDERS.join(",")}.`,
8484
);
8585
}
8686
}
@@ -230,9 +230,9 @@ export const isMain = (meta: ImportMeta) => {
230230
return process.argv[1] === fileURLToPath(meta.url);
231231
};
232232

233-
export const outputBundleExists = () => {
233+
export const outputBundleExists = () => {
234234
const outputBundleDir = resolve(".apphosting");
235-
if (existsSync(outputBundleDir)){
235+
if (existsSync(outputBundleDir)) {
236236
return true;
237237
}
238238
return false;

0 commit comments

Comments
 (0)