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 @@ -159,9 +159,8 @@ export function readSFC (target: string, ig: Ignore): SFCFileInfo[] {
159159}
160160
161161function resolveGlob ( target : string ) {
162- const relativeTarget = path . relative ( process . cwd ( ) , target )
163162 // TODO: async implementation
164- return glob . sync ( `${ relativeTarget } /**/*.vue` )
163+ return glob . sync ( `${ target } /**/*.vue` )
165164}
166165
167166export const DEFUALT_CONF = { provider : { } } as ProviderConfiguration
@@ -431,7 +430,7 @@ export function splitLocaleMessages (
431430
432431export function readIgnoreFile ( target : string , ignoreFileName : string ) : string [ ] {
433432 const ignoreFiles = glob . sync ( `${ target } /**/${ ignoreFileName } ` )
434- console . log ( `allignore ${ ignoreFiles } ` )
433+ console . log ( `ignoreFiles ${ ignoreFiles } ` )
435434 const ignoreTargets = [ ] as string [ ]
436435 ignoreFiles . forEach ( ignoreFile => {
437436 fs . readFileSync ( ignoreFile , 'utf8' )
You can’t perform that action at this time.
0 commit comments