Default path for scaffolding base dir

This commit is contained in:
2020-09-05 10:02:42 -05:00
parent 48ff05b12b
commit fc5fbf2b70

View File

@@ -36,7 +36,7 @@ export default class Scaffolding extends LifecycleUnit {
protected logger: Logging,
protected utility: Utility,
@Inject('injector') protected injector: Container,
base_script: string
base_script: string = '.'
) {
super()
this.base_dir = path.dirname(base_script)//.replace('file:///', '/')