Skip to content

Commit

Permalink
fixes path generation on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ypujante committed Nov 26, 2024
1 parent ee8537a commit d697244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create-plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def config(plugin):
project_name = maybe_ask_user(args.project, "Project Name", f'{plugin["company"]}-{plugin["name"]}-plugin')

plugin['root_dir'] = os.path.join(os.path.realpath(project_dir), project_name)
plugin['jamba_root_dir'] = this_script_root_dir.replace('\\', '\\\\')
plugin['jamba_root_dir'] = this_script_root_dir.replace('\\', '/')
plugin['local_jamba'] = "" if args.local else "#"
plugin['remote_jamba'] = "" if not args.local else "#"
plugin['target'] = f'{plugin["company"]}_{plugin["name"]}' if plugin["company"] else plugin["name"]
Expand Down

0 comments on commit d697244

Please sign in to comment.