[ci] format
This commit is contained in:
parent
1c3e8f6c3b
commit
875a04db16
1 changed files with 3 additions and 1 deletions
|
@ -155,7 +155,9 @@ export default function createIntegration(args?: Options): AstroIntegration {
|
|||
for (let page of pages) {
|
||||
let pagePath = prependForwardSlash(page.pathname);
|
||||
if (_config.base !== '/') {
|
||||
const base = _config.base.endsWith('/') ? _config.base.substring(0, -1) : _config.base;
|
||||
const base = _config.base.endsWith('/')
|
||||
? _config.base.substring(0, -1)
|
||||
: _config.base;
|
||||
pagePath = `${base}${pagePath}`;
|
||||
}
|
||||
staticPathList.push(pagePath);
|
||||
|
|
Loading…
Reference in a new issue