Skip to content

Commit 65a64c4

Browse files
committed
rename pathToTopojsonDest constant -> pathToTopojsonDist
1 parent 55b9336 commit 65a64c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tasks/preprocess.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ fs.readFile(constants.pathToFontSVG, function(err, data) {
2323
pullFontSVG(data.toString(), constants.pathToFontSVGBuild);
2424
});
2525

26-
// copy topojson from sane-topojson to dist/
27-
fs.copy(constants.pathToTopojsonSrc, constants.pathToTopojsonDest,
26+
// copy topojson files from sane-topojson to dist/
27+
fs.copy(constants.pathToTopojsonSrc, constants.pathToTopojsonDist,
2828
{ clobber: true },
2929
function(err) {
3030
if(err) throw err;

tasks/util/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = {
1616
pathToPlotlyDistWithMeta: path.join(pathToDist, 'plotly-with-meta.js'),
1717

1818
pathToTopojsonSrc: path.join(pathToRoot, 'node_modules/sane-topojson/dist/'),
19-
pathToTopojsonDest: path.join(pathToDist, 'topojson/'),
19+
pathToTopojsonDist: path.join(pathToDist, 'topojson/'),
2020
pathToPlotlyGeoAssetsSrc: path.join(pathToSrc, 'assets/geo_assets.js'),
2121
pathToPlotlyGeoAssetsDist: path.join(pathToDist, 'plotly-geo-assets.js'),
2222

0 commit comments

Comments
 (0)