Skip to content

Commit

Permalink
changed scripts extention to js
Browse files Browse the repository at this point in the history
  • Loading branch information
mehsaandev committed Feb 6, 2025
1 parent 4d32ec2 commit 5d3e2b6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class LocalDefinitionProvider extends FileDefinitionProvider {
try {
// Load the script content in string
final scriptContent = await rootBundle
.loadString("${path}scripts/${script["name"]}.yaml");
.loadString("${path}scripts/${script["name"]}.js");
code[script["name"]] = scriptContent;
} catch (e) {
// ignore error
Expand Down

0 comments on commit 5d3e2b6

Please sign in to comment.