Skip to content

Commit 63c3898

Browse files
authored
Merge pull request #45 from kpfefferle/fix-scm-path
Pass path string to SCM instead of object
2 parents 980e589 + d043069 commit 63c3898

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

index.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,8 @@ module.exports = {
6262
_getScmData: function() {
6363
var ScmDataGenerator = this.readConfig('scm');
6464
if (ScmDataGenerator) {
65-
return new ScmDataGenerator({
66-
plugin: this
67-
}).generate();
65+
var path = this.readConfig('distDir');
66+
return new ScmDataGenerator(path).generate();
6867
} else {
6968
return Promise.resolve();
7069
}

0 commit comments

Comments
 (0)