aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2020-04-07 21:06:00 +0200
committercodecalm <codecalm@gmail.com>2020-04-07 21:06:00 +0200
commitf97848d322fe14b4c6b26113f4cfa83bc75c4ecc (patch)
tree4fe78678a652e02ebe7fbb379f0b458bb0b9af48 /gulpfile.js
parentchangelog images (diff)
downloadtabler-icons-f97848d322fe14b4c6b26113f4cfa83bc75c4ecc.tar.xz
image fixes
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 9a5b6e6d..7463dd04 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -51,7 +51,7 @@ const createScreenshot = async (filePath) => {
const fileName = filePath.replace('.svg', '');
const htmlFilePath = path.join("file:", filePath);
- const browser = await puppeteer.launch();
+ const browser = await puppeteer.launch({headless: false});
const page = await browser.newPage();
await page.setViewport({
@@ -486,7 +486,7 @@ gulp.task('changelog-image', function (cb) {
newVersion = argv['new-version'] || `${p.version}`;
if (version) {
- cp.exec(`git diff v${version} HEAD --name-status`, function (err, ret) {
+ cp.exec(`git diff v${version} v${newVersion} --name-status`, function (err, ret) {
let newIcons = [];