Skip to content

Commit c15fd92

Browse files
committed
style: lint
1 parent f8567a3 commit c15fd92

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/commands/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export default defineCommand({
112112
// Add module builder metadata
113113
moduleMeta.builder = {
114114
[name]: version,
115-
'unbuild': await readPackageJSON('unbuild').then(r => r.version).catch(() => 'unknown'),
115+
unbuild: await readPackageJSON('unbuild').then(r => r.version).catch(() => 'unknown'),
116116
}
117117

118118
// Write meta

test/build.spec.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,14 @@ describe('module builder', () => {
8080
const unbuildPkg = await readPackageJSON('unbuild')
8181
expect(JSON.parse(meta)).toMatchObject(
8282
{
83-
"builder": {
84-
"@nuxt/module-builder": version,
85-
"unbuild": unbuildPkg.version,
83+
builder: {
84+
'@nuxt/module-builder': version,
85+
'unbuild': unbuildPkg.version,
8686
},
87-
"configKey": "myModule",
88-
"name": "my-module",
89-
"version": "1.0.0",
90-
}
87+
configKey: 'myModule',
88+
name: 'my-module',
89+
version: '1.0.0',
90+
},
9191
)
9292
})
9393

0 commit comments

Comments
 (0)