update smartfile relative path handling
This commit is contained in:
@ -94,7 +94,7 @@ export class Smartfile {
|
||||
* return relative path of file
|
||||
*/
|
||||
get relative (): string {
|
||||
return this.path
|
||||
return plugins.path.relative(this.base, this.path)
|
||||
}
|
||||
|
||||
/**
|
||||
@ -124,4 +124,8 @@ export class Smartfile {
|
||||
isStream () {
|
||||
return false
|
||||
}
|
||||
|
||||
isSymbolic () {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user