Skip to content

Commit b17b94c

Browse files
prog reg registrant methods shouldnt be static
1 parent ba59fb7 commit b17b94c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/prog_registry.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,11 @@ export class ProgramRegistry {
261261

262262
// TODO: move usage of above methods to use class methods instead of the standalone functions
263263

264-
static async build_registrant_from_js(js_code: string, built_in = false): Promise<ProgramRegistrant> {
264+
async build_registrant_from_js(js_code: string, built_in = false): Promise<ProgramRegistrant> {
265265
return build_registrant_from_js(js_code, built_in);
266266
}
267267

268-
static async determine_program_name_from_js(js_code: string): Promise<string> {
268+
async determine_program_name_from_js(js_code: string): Promise<string> {
269269
return determine_program_name_from_js(js_code);
270270
}
271271

0 commit comments

Comments
 (0)