Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions packages/cli/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ export const defaultSmartUIWebConfig = {
[1920, 1080],
[1366, 768],
[360, 640],
],
include: [],
exclude: []
]
}
};

Expand Down
7 changes: 5 additions & 2 deletions packages/core/src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ export class SmartUIClient {
}

function getRequest(url, options, log) {
log.debug(`${url} ${options}`)
log.debug(url)
log.debug(options)
return axios.get(url, options)
.then(function (response) {
return response && response.data
Expand All @@ -103,7 +104,9 @@ function getRequest(url, options, log) {
}

function postRequest(url, body, options, log) {
log.debug(`${url} ${body} ${options}`)
log.debug(url)
log.debug(body)
log.debug(options)
return axios.post(url, body, options)
.then(async function (response) {
log.info('Build Created');
Expand Down
2 changes: 2 additions & 0 deletions packages/core/src/utils.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import cp from 'child_process';

export function generateId(str) {
const lowercaseStr = str.toLowerCase();
const noSpacesStr = lowercaseStr.replace(/\s/g, '-');
Expand Down