Skip to content

Commit d1a8e6a

Browse files
zhiqingchenianzone
authored andcommitted
fix(rn-style-transformer): error print (NervJS#17380)
1 parent b182af7 commit d1a8e6a

File tree

1 file changed

+1
-1
lines changed
  • packages/taro-rn-style-transformer/src/transforms

1 file changed

+1
-1
lines changed

packages/taro-rn-style-transformer/src/transforms/postcss.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export function makePostcssPlugins ({
9696
plugins.push(require(pluginPath)((pluginOption as any).config || {}))
9797
} catch (e) {
9898
const msg = e.code === 'MODULE_NOT_FOUND' ? `缺少postcss插件${pluginName}, 已忽略` : e
99-
printLog(msg, processTypeEnum.WARNING)
99+
printLog(processTypeEnum.WARNING, msg)
100100
}
101101
})
102102

0 commit comments

Comments
 (0)