aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/postpublish_utils.js
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-02-09 04:02:04 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-02-09 04:02:13 +0800
commitd7a7e28925257860b4fea9c523eb46c8b98ab511 (patch)
tree8862d5ade5ca9db263738ab109bc968cf3fec0e1 /scripts/postpublish_utils.js
parent6dec29e214e6c9f222a7673efd97d21b3952b090 (diff)
downloaddexon-sol-tools-d7a7e28925257860b4fea9c523eb46c8b98ab511.tar
dexon-sol-tools-d7a7e28925257860b4fea9c523eb46c8b98ab511.tar.gz
dexon-sol-tools-d7a7e28925257860b4fea9c523eb46c8b98ab511.tar.bz2
dexon-sol-tools-d7a7e28925257860b4fea9c523eb46c8b98ab511.tar.lz
dexon-sol-tools-d7a7e28925257860b4fea9c523eb46c8b98ab511.tar.xz
dexon-sol-tools-d7a7e28925257860b4fea9c523eb46c8b98ab511.tar.zst
dexon-sol-tools-d7a7e28925257860b4fea9c523eb46c8b98ab511.zip
Fix missing references to 'this'
Diffstat (limited to 'scripts/postpublish_utils.js')
-rw-r--r--scripts/postpublish_utils.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/postpublish_utils.js b/scripts/postpublish_utils.js
index 9603827db..7ce01189c 100644
--- a/scripts/postpublish_utils.js
+++ b/scripts/postpublish_utils.js
@@ -50,12 +50,12 @@ module.exports = {
return releaseName;
},
standardPostPublishAsync: function(subPackageName) {
- return getLatestTagAndVersionAsync(subPackageName)
+ return this.getLatestTagAndVersionAsync(subPackageName)
.then(function(result) {
- const releaseName = getReleaseName(subPackageName, result.version);
+ const releaseName = this.getReleaseName(subPackageName, result.version);
const assets = [];
- return publishReleaseNotesAsync(result.tag, releaseName, assets);
- })
+ return this.publishReleaseNotesAsync(result.tag, releaseName, assets);
+ }.bind(this))
.catch(function(err) {
throw err;
});