Skip to content

Commit

Permalink
fixup! apply feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
biniam committed Feb 5, 2018
1 parent f651e39 commit a8f0b20
Show file tree
Hide file tree
Showing 17 changed files with 1 addition and 40 deletions.
2 changes: 0 additions & 2 deletions packages/authentication/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

/* eslint-disable no-unused-vars*/
const nodeMajorVersion = +process.versions.node.split('.')[0];
module.exports = require('./dist');
6 changes: 1 addition & 5 deletions packages/cli/generators/app/templates/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

/* eslint-disable no-unused-vars*/
const nodeMajorVersion = +process.versions.node.split('.')[0];
const dist = './dist';

const application = (module.exports = require(dist));
const application = (module.exports = require('./dist'));

if (require.main === module) {
// Run the application
Expand Down
2 changes: 0 additions & 2 deletions packages/cli/generators/extension/templates/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

/* eslint-disable no-unused-vars*/
const nodeMajorVersion = +process.versions.node.split('.')[0];
module.exports = require('./dist');
2 changes: 0 additions & 2 deletions packages/context/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

/* eslint-disable no-unused-vars*/
const nodeMajorVersion = +process.versions.node.split('.')[0];
module.exports = require('./dist');
2 changes: 0 additions & 2 deletions packages/core/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

/* eslint-disable no-unused-vars*/
const nodeMajorVersion = +process.versions.node.split('.')[0];
module.exports = require('./dist');
3 changes: 0 additions & 3 deletions packages/example-getting-started/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

/* eslint-disable no-unused-vars*/
const nodeMajorVersion = +process.versions.node.split('.')[0];

const application = (module.exports = require('./dist'));

if (require.main === module) {
Expand Down
3 changes: 0 additions & 3 deletions packages/example-hello-world/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

/* eslint-disable no-unused-vars*/
const nodeMajorVersion = +process.versions.node.split('.')[0];

const application = (module.exports = require('./dist'));

if (require.main === module) {
Expand Down
2 changes: 0 additions & 2 deletions packages/example-log-extension/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

/* eslint-disable no-unused-vars*/
const nodeMajorVersion = +process.versions.node.split('.')[0];
module.exports = require('./dist');
3 changes: 0 additions & 3 deletions packages/example-rpc-server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

/* eslint-disable no-unused-vars*/
const nodeMajorVersion = +process.versions.node.split('.')[0];

const application = (module.exports = require('./dist'));

if (require.main === module) {
Expand Down
2 changes: 0 additions & 2 deletions packages/metadata/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

/* eslint-disable no-unused-vars*/
const nodeMajorVersion = +process.versions.node.split('.')[0];
module.exports = require('./dist');
2 changes: 0 additions & 2 deletions packages/openapi-spec-builder/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

/* eslint-disable no-unused-vars*/
const nodeMajorVersion = +process.versions.node.split('.')[0];
module.exports = require('./dist');
2 changes: 0 additions & 2 deletions packages/openapi-spec/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

/* eslint-disable no-unused-vars*/
const nodeMajorVersion = +process.versions.node.split('.')[0];
module.exports = require('./dist');
2 changes: 0 additions & 2 deletions packages/openapi-v2/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

/* eslint-disable no-unused-vars*/
const nodeMajorVersion = +process.versions.node.split('.')[0];
module.exports = require('./dist');
2 changes: 0 additions & 2 deletions packages/repository-json-schema/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

/* eslint-disable no-unused-vars*/
const nodeMajorVersion = +process.versions.node.split('.')[0];
module.exports = require('./dist');
2 changes: 0 additions & 2 deletions packages/repository/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

/* eslint-disable no-unused-vars*/
const nodeMajorVersion = +process.versions.node.split('.')[0];
module.exports = require('./dist');
2 changes: 0 additions & 2 deletions packages/rest/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

/* eslint-disable no-unused-vars*/
const nodeMajorVersion = +process.versions.node.split('.')[0];
module.exports = require('./dist');
2 changes: 0 additions & 2 deletions packages/testlab/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

/* eslint-disable no-unused-vars*/
const nodeMajorVersion = +process.versions.node.split('.')[0];
module.exports = require('./dist');

0 comments on commit a8f0b20

Please sign in to comment.