Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-sull authored and actions-user committed Apr 7, 2022
1 parent c773dcd commit 42e0e0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/astro/src/vite-plugin-build-css/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function isPageStyleVirtualModule(id: string) {
}

function isRawOrUrlModule(id: string) {
return id.match(/(\?|\&)([^=]+)(raw|url)/gm)
return id.match(/(\?|\&)([^=]+)(raw|url)/gm);
}

interface PluginOptions {
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/test/astro-css-bundling-import.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ describe('CSS Bundling (ESM import)', () => {
// this makes sure the styles imported with ?url were inlined
let inlineCss = $('style').html().replace(/\s/g, '').replace('/n', '');
expect(inlineCss.indexOf('p{color:purple;}')).to.be.greaterThanOrEqual(0);
})
});
});

0 comments on commit 42e0e0f

Please sign in to comment.