Default path for scaffolding base dir
This commit is contained in:
parent
48ff05b12b
commit
fc5fbf2b70
@ -36,7 +36,7 @@ export default class Scaffolding extends LifecycleUnit {
|
|||||||
protected logger: Logging,
|
protected logger: Logging,
|
||||||
protected utility: Utility,
|
protected utility: Utility,
|
||||||
@Inject('injector') protected injector: Container,
|
@Inject('injector') protected injector: Container,
|
||||||
base_script: string
|
base_script: string = '.'
|
||||||
) {
|
) {
|
||||||
super()
|
super()
|
||||||
this.base_dir = path.dirname(base_script)//.replace('file:///', '/')
|
this.base_dir = path.dirname(base_script)//.replace('file:///', '/')
|
||||||
|
Loading…
Reference in New Issue
Block a user