'use strict';

// eslint-disable-next-line no-undef
const SERVERLESS_PATH = $SERVERLESS_PATH;

const Serverless = require(SERVERLESS_PATH);

class LocalServerless extends Serverless {
  constructor(config) {
    super(config);
    this.isLocalStub = true;
  }
  eventuallyFallbackToLocal() {
    this.isLocallyInstalled = true;
    return Promise.resolve();
  }
};

LocalServerless.SERVERLESS_PATH = SERVERLESS_PATH;

module.exports = LocalServerless;
