Skip to content

Commit 381d373

Browse files
committed
fix: operator-linebreak style in create-import-map
Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4c6edc0 commit 381d373

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/_plugins/create-import-map.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ module.exports = function(eleventyConfig) {
77
for (const [, spec] of content.matchAll(specifierRe)) {
88
if (!spec.startsWith('.') && !spec.startsWith('/')) {
99
const name = spec.startsWith('@') ?
10-
spec.split('/').slice(0, 2).join('/') :
11-
spec.split('/')[0];
10+
spec.split('/').slice(0, 2).join('/')
11+
: spec.split('/')[0];
1212
deps[name] = '*';
1313
}
1414
}

0 commit comments

Comments
 (0)