Skip to content

Commit

Permalink
Fix failing build test
Browse files Browse the repository at this point in the history
  • Loading branch information
cezaraugusto committed Sep 6, 2024
1 parent 8713840 commit bc93104
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/init/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"version": "0.0.1",
"name": "Initial Template",
"name": "Init Template",
"description": "An Extension.js example.",
"icons": {
"16": "images/extension_16.png",
Expand Down
6 changes: 3 additions & 3 deletions programs/develop/build.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ describe('extension build', () => {
templatePath,
'dist',
SUPPORTED_BROWSERS[0],
`${template.name}-0.0.1.zip`
`${template.name}-template-0.0.1.zip`
)
)
).toBeTruthy()
Expand All @@ -196,10 +196,10 @@ describe('extension build', () => {
browser: SUPPORTED_BROWSERS[0] as 'chrome',
zipSource: true
})

expect(
fs.existsSync(
path.join(templatePath, 'dist', `${template.name}-0.0.1-source.zip`)
path.join(templatePath, 'dist', `${template.name}-template-0.0.1-source.zip`)
)
).toBeTruthy()
},
Expand Down
2 changes: 1 addition & 1 deletion programs/develop/commands/commands-lib/generate-zip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export async function generateZip(

if (options.zipSource) {
console.log('')
console.log(messages.packagingSourceFiles(browser))
console.log(messages.packagingSourceFiles(sourceZipPath))

const zip = new AdmZip()
const files = await getFilesToZip(projectDir)
Expand Down

0 comments on commit bc93104

Please sign in to comment.