import { stripIndent } from "common-tags"; import { FileWriter } from "../../base"; import { IFileWriter, TFileWriterConfig } from "../../types"; import { GlobalHelpers } from "../../../helpers"; import { AppConfig } from "../../../../app-config"; class HelperEnvConfigWriter extends FileWriter implements IFileWriter { constructor(protected config: TFileWriterConfig) { super(config); } getFileContent() { let fileContent = stripIndent` /* any config settings that will be used by this collection should be added here */ export const ENV = {} `; return fileContent; } execute() { try { this.write('wx'); } catch (error) { GlobalHelpers.showError(error); } } } export { HelperEnvConfigWriter };