Skip to content

Commit

Permalink
feat(loader): do not check writable for interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Sep 16, 2023
1 parent 949d81b commit 6fbe0d0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/loader/src/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ export abstract class Loader {
}

interpolate(source: any) {
if (!this.writable) return source
if (typeof source === 'string') {
return interpolate(source, this.params, /\$\{\{(.+?)\}\}/g)
} else if (!source || typeof source !== 'object') {
Expand Down
File renamed without changes.

0 comments on commit 6fbe0d0

Please sign in to comment.