diff --git a/lib/file.js b/lib/file.js index 4f0ada50..e776c546 100644 --- a/lib/file.js +++ b/lib/file.js @@ -401,10 +401,6 @@ class SourceFile extends File { */ getImports() { const buffer = new Buffer() - if (this.services.names.length) { - // currently only needed to extend cds.Service and would trigger unused-variable-errors in strict configs - buffer.add('import cds from \'@sap/cds\'') // TODO should go to visitor#printService, but can't express this as Path - } const file = configuration.targetModuleType === 'esm' ? '/index.js' : ''