Skip to content

Commit 75d1315

Browse files
committed
disable notification till #51
1 parent a4af89f commit 75d1315

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/main/tsconfig/tsconfig.js

-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ function rawToTsCompilerOptions(jsonOptions, projectDir) {
6767
var compilerOptions = mixin({}, exports.defaults);
6868
for (var key in jsonOptions) {
6969
if (deprecatedKeys[key]) {
70-
atom.notifications.addWarning('Compiler option "' + key + '" is deprecated; use "' + deprecatedKeys[key] + '" instead');
7170
key = deprecatedKeys[key];
7271
}
7372
if (typescriptEnumMap[key]) {

lib/main/tsconfig/tsconfig.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ function rawToTsCompilerOptions(jsonOptions: CompilerOptions, projectDir: string
147147
var compilerOptions = <ts.CompilerOptions> mixin({}, defaults);
148148
for (var key in jsonOptions) {
149149
if (deprecatedKeys[key]) {
150-
atom.notifications.addWarning('Compiler option "' + key + '" is deprecated; use "' + deprecatedKeys[key] + '" instead');
150+
// Warn using : https://github.com/TypeStrong/atom-typescript/issues/51
151+
// atom.notifications.addWarning('Compiler option "' + key + '" is deprecated; use "' + deprecatedKeys[key] + '" instead');
151152
key = deprecatedKeys[key];
152153
}
153154

0 commit comments

Comments
 (0)