1
0
Fork 0

fix(core): Fixed typo in debug code

This commit is contained in:
Joost De Cock 2020-07-21 13:07:31 +02:00
parent 8240b5fd9a
commit 9ace3b6255

View file

@ -328,7 +328,7 @@ Pattern.prototype.sampleListOption = function (optionName) {
*/
Pattern.prototype.sampleMeasurement = function (measurementName) {
this.is = 'sample'
if (this.debug) this.raise.debug(`Sampling measurement \`${measurement}\``)
if (this.debug) this.raise.debug(`Sampling measurement \`${measurementName}\``)
this.runHooks('preSample')
let anchors = {}
let parts = this.sampleParts()