Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Sweep GHA Fix] The GitHub Actions run failed with... #197

Open
wants to merge 4 commits into
base: sweep/sweep_gha_fix_the_github_actions_run_fai_28
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion packages/node-dev/commands/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class Build extends Command {

this.log(`The nodes got build and saved into the following folder:\n${outputDirectory}`);

} catch (error) {
} catch (error: Error | any) {
this.log(`\nGOT ERROR: "${error.message}"`);
this.log('====================================');
this.log(error.stack);
Expand Down
2 changes: 1 addition & 1 deletion packages/node-dev/commands/new.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export class New extends Command {
this.log('====================================');

this.log('Node got created: ' + destinationFilePath);
} catch (error) {
} catch (error: Error | any) {
this.log(`\nGOT ERROR: "${error.message}"`);
this.log('====================================');
this.log(error.stack);
Expand Down
2 changes: 1 addition & 1 deletion packages/node-dev/src/Build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export async function buildFiles (options?: IBuildOptions): Promise<string> {
process.on('exit', () => {
buildProcess.kill();
});
} catch (error) {
} catch (error: Error | any) {
let errorMessage = error.message;

if (error.stdout !== undefined) {
Expand Down
2 changes: 1 addition & 1 deletion packages/workflow/src/Expression.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export class Expression {
}
}
return returnValue;
} catch (e) {
} catch (e: Error | any) {
throw new Error(`Expression is not valid: ${e.message}`);
}
}
Expand Down
Loading