crex
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -107,3 +107,3 @@ #!/usr/bin/env node | ||
program.compress.forEach((folder) => { | ||
const path = folder.split('/').pop(); | ||
const path = folder.replace(/^\/+/g, ''); | ||
zip.glob(path + '/**/*', { | ||
@@ -110,0 +110,0 @@ ignore: '**/node_modules/**' |
@@ -49,3 +49,3 @@ var api = require('./api'); | ||
var req = null; | ||
url = this.url + url; | ||
url = this.getUrl() + url; | ||
@@ -52,0 +52,0 @@ switch (method) { |
{ | ||
"name": "crex", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "Creative Exchange SDK for Javascript", | ||
@@ -5,0 +5,0 @@ "author": "Mateusz Luczak <mateusz.luczak@outlook.com>", |
Sorry, the diff of this file is too big to display
2076674