Skip to content

Commit

Permalink
[插件]添加ear部署过滤
Browse files Browse the repository at this point in the history
  • Loading branch information
yinhuochong committed Mar 11, 2020
1 parent 300360f commit 5813a54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/official/plugin.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const plugin_version = '2020-0308-2330'
const plugin_version = '2020-0311-1630'
const plugin_name = 'official'
const plugin_desc = '官方插件'

Expand Down Expand Up @@ -1770,7 +1770,7 @@ plugin.register('readFile', function (params, context) {
// weblogic/tongweb 下面,所有war包读取操作全部忽略
if (server['server'] === 'weblogic' || server['server'] == 'tongweb')
{
if (params.realpath.endsWith('.war'))
if (params.realpath.endsWith('.war') || params.realpath.endsWith('.ear'))
{
return clean;
}
Expand Down

0 comments on commit 5813a54

Please sign in to comment.