[ci] npm run format
This commit is contained in:
parent
cc1a318c41
commit
f6f01a7d7b
3 changed files with 3 additions and 3 deletions
|
@ -192,7 +192,7 @@ export async function build(astroConfig: AstroConfig): Promise<0 | 1> {
|
||||||
if (imports.size > 0) {
|
if (imports.size > 0) {
|
||||||
try {
|
try {
|
||||||
await bundle(imports, { dist, runtime, astroConfig });
|
await bundle(imports, { dist, runtime, astroConfig });
|
||||||
} catch(err) {
|
} catch (err) {
|
||||||
error(logging, 'generate', err);
|
error(logging, 'generate', err);
|
||||||
await runtime.shutdown();
|
await runtime.shutdown();
|
||||||
return 1;
|
return 1;
|
||||||
|
|
|
@ -32,7 +32,7 @@ DynamicComponents('Can be built', async ({ build }) => {
|
||||||
try {
|
try {
|
||||||
await build();
|
await build();
|
||||||
assert.ok(true, 'Can build a project with svelte dynamic components');
|
assert.ok(true, 'Can build a project with svelte dynamic components');
|
||||||
} catch(err) {
|
} catch (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
assert.ok(false, 'build threw');
|
assert.ok(false, 'build threw');
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,4 +56,4 @@ export function setupBuild(Suite, fixturePath) {
|
||||||
Suite('No errors creating a runtime', () => {
|
Suite('No errors creating a runtime', () => {
|
||||||
assert.equal(setupError, undefined);
|
assert.equal(setupError, undefined);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue