Skip to content

Commit 74a9182

Browse files
committed
Update LUAUMB_VERSION to 0.1 and remove TODO
1 parent a5e579d commit 74a9182

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/luaumb.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ void luau_fvalue_init() {
2424
}
2525
}
2626

27-
// TODO: handle error/result by returning it instead of outputting it to stdout.
28-
2927
void luaumb::bundle(const std::string& main_file, const std::string& out_file) {
3028
if (!fvalue_inited) {
3129
luau_fvalue_init();
@@ -50,7 +48,7 @@ void luaumb::bundle(const std::string& main_file, const std::string& out_file) {
5048

5149
if (!file) {
5250
std::cout << "Couldn't read source " << module_path.path.string() << std::endl;
53-
return; // TODO: Return error
51+
return;
5452
}
5553

5654
if ((*file).length() == 0) {
@@ -152,7 +150,7 @@ void luaumb::bundle(const std::string& main_file, const std::string& out_file) {
152150
std::ofstream out_fs(out_file);
153151
if (!out_fs) {
154152
std::cout << "Couldn't open output file " << out_file << std::endl;
155-
return; // TODO: Return error
153+
return;
156154
}
157155
out_fs << out;
158156
out_fs.close();

src/luaumb.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <string>
55

66
#ifndef LUAUMB_VERSION
7-
#define LUAUMB_VERSION "0.1-dev"
7+
#define LUAUMB_VERSION "0.1"
88
#endif
99

1010
#ifndef LUAUMB_LUAU_VERSION

0 commit comments

Comments
 (0)