Skip to content

Commit

Permalink
disable notification till #51
Browse files Browse the repository at this point in the history
  • Loading branch information
basarat committed Feb 5, 2015
1 parent a4af89f commit 75d1315
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/main/tsconfig/tsconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ function rawToTsCompilerOptions(jsonOptions, projectDir) {
var compilerOptions = mixin({}, exports.defaults);
for (var key in jsonOptions) {
if (deprecatedKeys[key]) {
atom.notifications.addWarning('Compiler option "' + key + '" is deprecated; use "' + deprecatedKeys[key] + '" instead');
key = deprecatedKeys[key];
}
if (typescriptEnumMap[key]) {
Expand Down
3 changes: 2 additions & 1 deletion lib/main/tsconfig/tsconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ function rawToTsCompilerOptions(jsonOptions: CompilerOptions, projectDir: string
var compilerOptions = <ts.CompilerOptions> mixin({}, defaults);
for (var key in jsonOptions) {
if (deprecatedKeys[key]) {
atom.notifications.addWarning('Compiler option "' + key + '" is deprecated; use "' + deprecatedKeys[key] + '" instead');
// Warn using : https://github.com/TypeStrong/atom-typescript/issues/51
// atom.notifications.addWarning('Compiler option "' + key + '" is deprecated; use "' + deprecatedKeys[key] + '" instead');
key = deprecatedKeys[key];
}

Expand Down

0 comments on commit 75d1315

Please sign in to comment.