Skip to content

Commit

Permalink
Merge pull request #19 from CloudCannon/fix/static-default-path
Browse files Browse the repository at this point in the history
Fix/static default path
  • Loading branch information
rphillips-cc authored Jun 7, 2024
2 parents deff7a8 + 15d1e07 commit 946c842
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudcannon/command-builder",
"version": "1.1.6",
"version": "1.1.7",
"description": "A script that builds the script that builds your site",
"main": "src/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/static.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = class Static {
static runScriptCommands(buildConfig = {}) {
return Reader.runScriptCommands({
...buildConfig,
output_path: buildConfig.source || '',
output_path: buildConfig.source || '.',
install_command: '',
build_command: ''
});
Expand Down

0 comments on commit 946c842

Please sign in to comment.