diff --git a/packages/uni-cli-shared/lib/json.js b/packages/uni-cli-shared/lib/json.js index ee37978cddb90fb225d32acb93adf303e7427adb..b2db2beeaef3d07442d9af1c4b8cdf2317941e8a 100644 --- a/packages/uni-cli-shared/lib/json.js +++ b/packages/uni-cli-shared/lib/json.js @@ -17,7 +17,7 @@ function parseJson (content, preprocess = false) { try { content = JSON.parse(stripJsonComments(content)) } catch (e) { - throw new Error("uni-app-compiler: " + e.message) + throw new Error('uni-app-compiler: ' + e.message) } } diff --git a/packages/vue-cli-plugin-uni/lib/error-reporting.js b/packages/vue-cli-plugin-uni/lib/error-reporting.js index 97cb462541ff9d0ea8be15830fec5bad3ceab5df..51fe1541c7602ea2c3c53ba11b6d616b3da471f2 100644 --- a/packages/vue-cli-plugin-uni/lib/error-reporting.js +++ b/packages/vue-cli-plugin-uni/lib/error-reporting.js @@ -103,8 +103,8 @@ class ErrorReport { } } Object.assign(ErrorReport.prototype, { - HOST: "96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com", - PATH: "/http/uni-app-compiler", + HOST: '96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com', + PATH: '/http/uni-app-compiler', EXCLUDE_ERROR_LIST: ['uni-app-compiler'] });