File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -152,9 +152,8 @@ export function readSFC (target: string, ig: Ignore): SFCFileInfo[] {
152152}
153153
154154function resolveGlob ( target : string ) {
155- const relativeTarget = path . relative ( process . cwd ( ) , target )
156155 // TODO: async implementation
157- return glob . sync ( `${ relativeTarget } /**/*.vue` )
156+ return glob . sync ( `${ target } /**/*.vue` )
158157}
159158
160159export const DEFUALT_CONF = { provider : { } } as ProviderConfiguration
@@ -424,7 +423,7 @@ export function splitLocaleMessages (
424423
425424export function readIgnoreFile ( target : string , ignoreFileName : string ) : string [ ] {
426425 const ignoreFiles = glob . sync ( `${ target } /**/${ ignoreFileName } ` )
427- console . log ( `allignore ${ ignoreFiles } ` )
426+ console . log ( `ignoreFiles ${ ignoreFiles } ` )
428427 const ignoreTargets = [ ] as string [ ]
429428 ignoreFiles . forEach ( ignoreFile => {
430429 fs . readFileSync ( ignoreFile , 'utf8' )
You can’t perform that action at this time.
0 commit comments