diff --git a/build/zip-examples.js b/build/zip-examples.js index c98ed9763..898e5860f 100644 --- a/build/zip-examples.js +++ b/build/zip-examples.js @@ -12,9 +12,10 @@ const path = require('path') const sh = require('shelljs') -const { version, version_short: versionShort } = require('../package.json') +const pkg = require('../package.json') -const folderName = `bootstrap-${version}-examples` +const versionShort = pkg.config.version_short +const folderName = `bootstrap-${pkg.version}-examples` sh.config.fatal = true diff --git a/js/tests/unit/scrollspy.spec.js b/js/tests/unit/scrollspy.spec.js index 45de56fbe..eab9183aa 100644 --- a/js/tests/unit/scrollspy.spec.js +++ b/js/tests/unit/scrollspy.spec.js @@ -68,7 +68,7 @@ describe('ScrollSpy', () => { fixtureEl.innerHTML = [ '