Skip to content

Commit 1eb4a6a

Browse files
committed
remove include exclude config and fix git issue
1 parent 24f2e78 commit 1eb4a6a

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

packages/cli/src/config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ export const defaultSmartUIWebConfig = {
2626
[1920, 1080],
2727
[1366, 768],
2828
[360, 640],
29-
],
30-
include: [],
31-
exclude: []
29+
]
3230
}
3331
};
3432

packages/core/src/client.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ export class SmartUIClient {
8585
}
8686

8787
function getRequest(url, options, log) {
88-
log.debug(`${url} ${options}`)
88+
log.debug(url)
89+
log.debug(options)
8990
return axios.get(url, options)
9091
.then(function (response) {
9192
return response && response.data
@@ -103,7 +104,9 @@ function getRequest(url, options, log) {
103104
}
104105

105106
function postRequest(url, body, options, log) {
106-
log.debug(`${url} ${body} ${options}`)
107+
log.debug(url)
108+
log.debug(body)
109+
log.debug(options)
107110
return axios.post(url, body, options)
108111
.then(async function (response) {
109112
log.info('Build Created');

packages/core/src/utils.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import cp from 'child_process';
2+
13
export function generateId(str) {
24
const lowercaseStr = str.toLowerCase();
35
const noSpacesStr = lowercaseStr.replace(/\s/g, '-');

0 commit comments

Comments
 (0)