Skip to content

Commit 36ccdcc

Browse files
committed
Fix incorrect options reference
1 parent d250d1c commit 36ccdcc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ module.exports = (api, options) => {
6767

6868
const toCopy = []
6969

70-
if (options.components.icons) {
70+
if (pluginOptions.components.icons) {
7171
toCopy.push({ from: './src/icons', to: 'icons/[name].[ext]', ignore: ['icon.xcf'] })
7272
}
7373

@@ -77,10 +77,10 @@ module.exports = (api, options) => {
7777
transform: (content) => {
7878
return new Promise((resolve, reject) => {
7979
const jsonContent = JSON.parse(content)
80-
if (options.manifestSync.includes('version')) {
80+
if (pluginOptions.manifestSync.includes('version')) {
8181
jsonContent.version = packageJson.version
8282
}
83-
if (options.manifestSync.includes('description')) {
83+
if (pluginOptions.manifestSync.includes('description')) {
8484
jsonContent.description = packageJson.description
8585
}
8686

0 commit comments

Comments
 (0)