mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
committed by
Ben Lesh
parent
f76a9ad156
commit
976389836e
@@ -1021,7 +1021,7 @@ export function i18nExtract(
|
||||
const ext = i18nGetExtension(formatName);
|
||||
const content = i18nSerialize(bundle, formatName, options);
|
||||
const dstFile = outFile || `messages.${ext}`;
|
||||
const dstPath = path.resolve(options.outDir || options.basePath, dstFile);
|
||||
const dstPath = path.resolve(options.outDir || options.basePath !, dstFile);
|
||||
host.writeFile(dstPath, content, false, undefined, []);
|
||||
return [dstPath];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user