use new smithy package in generated code
This commit is contained in:
parent
ac07c9300f
commit
ad7aa96678
|
@ -45,7 +45,7 @@ fn processFile(arg: []const u8, stdout: anytype, manifest: anytype) !void {
|
||||||
file = try std.fs.cwd().createFile(filename, .{ .truncate = true });
|
file = try std.fs.cwd().createFile(filename, .{ .truncate = true });
|
||||||
errdefer file.close();
|
errdefer file.close();
|
||||||
writer = &file.writer();
|
writer = &file.writer();
|
||||||
_ = try writer.write("const smithy = @import(\"smithy.zig\");\n\n");
|
_ = try writer.write("const smithy = @import(\"smithy\");\n\n");
|
||||||
std.log.info("Processing file: {s}", .{arg});
|
std.log.info("Processing file: {s}", .{arg});
|
||||||
const service_names = generateServicesForFilePath(allocator, ";", arg, writer) catch |err| {
|
const service_names = generateServicesForFilePath(allocator, ";", arg, writer) catch |err| {
|
||||||
std.log.crit("Error processing file: {s}", .{arg});
|
std.log.crit("Error processing file: {s}", .{arg});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user