zarro 1.166.0 → 1.166.2
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/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -195,7 +195,7 @@ async function transpileTypeScriptFiles(
|
|
|
195
195
|
try {
|
|
196
196
|
require("typescript");
|
|
197
197
|
} catch (e) {
|
|
198
|
-
throw new
|
|
198
|
+
throw new ZarroError(`TypeScript not installed, unable to transpile local tasks: \n- ${ toTranspile.join("\n -") }`);
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
try {
|
|
@@ -277,7 +277,7 @@ async function transpileTasksUnder_(folder) {
|
|
|
277
277
|
try {
|
|
278
278
|
require("typescript");
|
|
279
279
|
} catch (e) {
|
|
280
|
-
throw new
|
|
280
|
+
throw new ZarroError(`TypeScript not installed, unable to transpile local tasks: \n- ${ toTranspile.join("\n -") }`);
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
try {
|