update comment

This commit is contained in:
Wesley Wigham
2015-10-05 14:25:48 -07:00
parent 6c1f3effcb
commit 732ec343fc

View File

@@ -1063,7 +1063,7 @@ namespace ts {
programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Cannot_compile_modules_into_es6_when_targeting_ES5_or_lower));
}
// Cannot specify module gen that isn't amd, umd, or system with --out
// Cannot specify module gen that isn't amd or system with --out
if (outFile && options.module && options.module !== ModuleKind.AMD && options.module !== ModuleKind.System) {
programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Only_amd_and_system_modules_are_supported_alongside_0, options.out ? "out" : "outFile"));
}