fix(core): update

This commit is contained in:
2019-05-10 11:46:37 +02:00
parent f48eadc814
commit 8b61a90b5f
5 changed files with 27 additions and 29 deletions

View File

@ -78,7 +78,9 @@ export let run = () => {
});
logger.log('ok', `Starting vscode in cwd ${paths.cwd}`);
await smartshellInstance.execAndWaitForLine(
`docker run -p 127.0.0.1:8443:8443 -v "${paths.cwd}:/home/coder/project" registry.gitlab.com/hosttoday/ht-docker-vscode --allow-http --no-auth`,
`docker run -p 127.0.0.1:8443:8443 -v "${
paths.cwd
}:/home/coder/project" registry.gitlab.com/hosttoday/ht-docker-vscode --allow-http --no-auth`,
/Connected to shared process/
);
await plugins.smartopen.openUrl('testing-vscode.git.zone:8443');

View File

@ -10,7 +10,7 @@ export interface IConfig {
}
const getQenvKeyValueObject = async () => {
let qenvKeyValueObjectArray: {[key: string]: string | number};
let qenvKeyValueObjectArray: { [key: string]: string | number };
if (plugins.smartfile.fs.fileExistsSync(plugins.path.join(paths.cwd, 'qenv.yml'))) {
qenvKeyValueObjectArray = new plugins.qenv.Qenv(paths.cwd, '.nogit/').keyValueObject;
} else {
@ -19,7 +19,7 @@ const getQenvKeyValueObject = async () => {
return qenvKeyValueObjectArray;
};
const buildConfig = async (qenvKeyValueObjectArg: {[key: string]: string | number}) => {
const buildConfig = async (qenvKeyValueObjectArg: { [key: string]: string | number }) => {
const npmextra = new plugins.npmextra.Npmextra(paths.cwd);
const config = npmextra.dataFor<IConfig>('npmdocker', {
baseImage: 'hosttoday/ht-docker-node:npmdocker',