Skip to content

Commit

Permalink
fix notice generation to exclude build directories in x-pack plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Oct 8, 2020
1 parent 8b08791 commit 0c40b3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NOTICE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -550,3 +550,4 @@ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

2 changes: 1 addition & 1 deletion src/dev/notice/generate_notice_from_source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export async function generateNoticeFromSource({ productName, directory, log }:
'src/plugins/*/{node_modules,build,dist}/**',
'x-pack/{node_modules,build,dist,data}/**',
'x-pack/packages/*/{node_modules,build,dist}/**',
'x-pack/plugins/*/{node_modules,build,dist}/**',
'x-pack/plugins/**/{node_modules,build,dist}/**',
'**/target/**',
],
};
Expand Down

0 comments on commit 0c40b3e

Please sign in to comment.