Skip to content

Commit

Permalink
basic mode fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentmorneau committed Oct 29, 2020
1 parent 40dada4 commit af88cf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 778 deletions.
4 changes: 2 additions & 2 deletions lib/commands/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = function () {
uploader.publish({
sqlclPath: config.upload.path,
connectString: `${config.upload.username}/${config.upload.password}@${config.upload.connectionString}`,
directory: path.resolve(config.distFolder),
directory: path.resolve(config.distFolder || config.srcFolder),
appID: getAppID(config.appUrl),
destination: config.upload.destination,
pluginName: config.upload.pluginName
Expand All @@ -46,7 +46,7 @@ module.exports = function () {
launch(async () => {
console.log(chalk.cyan('...Now'), chalk.cyan.bold('uploading!'));
upload();
});
}, {});
} else {
let buildResult = {
valid: true
Expand Down
Loading

0 comments on commit af88cf1

Please sign in to comment.