Skip to content

Commit

Permalink
fix: python app code generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Niraj-Kamdar committed Aug 23, 2023
1 parent dd91fa7 commit 56e48a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/lib/codegen/CodeGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export class CodeGenerator {
const pyprojectPath = path.join(manifestDir, "pyproject.toml");

const pyproject = fs.readFileSync(pyprojectPath, "utf8");
const match = pyproject.match(/name = "([A-Za-z0-9]+)"/);
const match = pyproject.match(/name = "([A-Za-z0-9-]+)"/);
if (!match || !match[1]) {
throw Error(
intlMsg.lib_codeGenerator_pyprojectNameError({
Expand Down

0 comments on commit 56e48a0

Please sign in to comment.