WIP: 5739-useDocker_inSalix #5

Closed
alexm wants to merge 4 commits from 5739-useDocker_inSalix into master
1 changed files with 1 additions and 2 deletions
Showing only changes of commit 35d7cf23ee - Show all commits

3
myt.js
View File

@ -181,7 +181,7 @@ class Myt {
const defaultConfig = require(`${__dirname}/assets/myt.default.yml`);
const config = Object.assign({}, defaultConfig);
const configFile = 'myt.config.yml';
const configFile = opts.configFile ?? 'myt.config.yml';
const configPath = path.join(opts.workspace, configFile);
if (await fs.pathExists(configPath)) {
@ -407,7 +407,6 @@ class Myt {
async openRepo() {
const {opts} = this;
if (!await fs.pathExists(`${opts.workspace}/.git`))
throw new Error ('Git not initialized');