solidui-cli 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -817,8 +817,12 @@ function writeTsconfig(alias) {
|
|
|
817
817
|
const indicator = spinner3();
|
|
818
818
|
indicator.start("Configuring your tsconfig.json");
|
|
819
819
|
readJsonFile(process.cwd() + "/tsconfig.json", (error, data) => {
|
|
820
|
-
if (error)
|
|
821
|
-
log3.error(
|
|
820
|
+
if (error) {
|
|
821
|
+
log3.error(
|
|
822
|
+
"Something went wrong while configuring your tsconfig.json. Please make sure it is formatted correctly and doesn't contain any comments."
|
|
823
|
+
);
|
|
824
|
+
process.exit(1);
|
|
825
|
+
}
|
|
822
826
|
const tsconfigData = data;
|
|
823
827
|
if (!tsconfigData.compilerOptions.paths) {
|
|
824
828
|
tsconfigData.compilerOptions.paths = {};
|