Skip to content

Commit

Permalink
Update commits analyzer import.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel910 committed Oct 31, 2018
1 parent a9f57d4 commit 06213bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/release/plugins/analyzeCommits/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const semver = require("semver");
const { template } = require("lodash");
const commitAnalyzer = require("@semantic-release/commit-analyzer");
const { analyzeCommits } = require("@semantic-release/commit-analyzer");
const getCommits = require("./getCommits");
const getLastReleaseFactory = require("./getLastRelease");

Expand Down Expand Up @@ -31,7 +31,7 @@ module.exports = (pluginConfig = {}) => {
params["lastRelease"] = lastRelease;
params["commits"] = commits;

const type = await commitAnalyzer(
const type = await analyzeCommits(
pluginConfig.commitAnalyzer || {},
Object.assign({ logger, commits })
);
Expand Down

0 comments on commit 06213bc

Please sign in to comment.