Project

General

Profile

Actions

Bug #25345

closed

Bug #25238: rudderc is generating 0 bytes resources when output directory is the same as the input

Missing import in rudderc

Added by Alexis Mousset 3 months ago. Updated about 2 months ago.

Status:
Released
Priority:
N/A
Category:
rudderc
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

[2024-08-23T07:23:35.106Z] error: cannot find macro `bail` in this scope

[2024-08-23T07:23:35.106Z]    --> policies/rudderc/src/lib.rs:117:17

[2024-08-23T07:23:35.106Z]     |

[2024-08-23T07:23:35.106Z] 117 |                 bail!("Output directory cannot be the same as the input directory");

[2024-08-23T07:23:35.106Z]     |                 ^^^^

[2024-08-23T07:23:35.106Z]     |

[2024-08-23T07:23:35.106Z] help: consider importing this macro

[2024-08-23T07:23:35.106Z]     |

[2024-08-23T07:23:35.106Z] 4   + use anyhow::bail;

[2024-08-23T07:23:35.106Z]     |

[2024-08-23T07:23:35.106Z] 

Actions

Also available in: Atom PDF