kopia lustrzana https://github.com/c9/core
fix missing module error in sdk
rodzic
31dbc16d90
commit
7a78fa8b4c
|
@ -178,7 +178,7 @@ module.exports = function(config, optimist) {
|
||||||
readonly: readonly
|
readonly: readonly
|
||||||
},
|
},
|
||||||
"./c9.vfs.server/vfs.server",
|
"./c9.vfs.server/vfs.server",
|
||||||
"./c9.error/logger.raygun_mock",
|
"./c9.error/logger.raygun_noop",
|
||||||
"./c9.preview/preview.handler",
|
"./c9.preview/preview.handler",
|
||||||
"./c9.vfs.server/cache",
|
"./c9.vfs.server/cache",
|
||||||
"./c9.vfs.server/download",
|
"./c9.vfs.server/download",
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
plugin.consumes = [];
|
||||||
|
plugin.provides = ["error.logger"];
|
||||||
|
|
||||||
|
module.exports = plugin;
|
||||||
|
|
||||||
|
function plugin(options, imports, register) {
|
||||||
|
var noop = function() {};
|
||||||
|
|
||||||
|
register(null, {
|
||||||
|
"error.logger": {
|
||||||
|
log: noop,
|
||||||
|
error: noop,
|
||||||
|
warn: noop
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
Ładowanie…
Reference in New Issue