Skip to content

Commit

Permalink
test bad format
Browse files Browse the repository at this point in the history
  • Loading branch information
wardru committed Feb 4, 2024
1 parent 2df9ff1 commit 9587897
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- name: Format
run: |
./scripts/format.sh
./scripts/format.sh --check
build:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion scripts/format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ while [[ $# -gt 0 ]]; do
esac
done

if [ "$FORMAT_OPTIONS" == false ] && [ "$CHECK_OPTIONS" == false ]; then
if [ "$FORMAT_OPTION" == false ] && [ "$CHECK_OPTION" == false ]; then
echo "No options provided. Please provide either --format or --check."
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion source/core/interface.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ struct itf_impl {
int send_message(const nlohmann::json &data);

itf_info info;
std::string topic_base;
std::string topic_base;
std::string topic_cmd;
mqtt_service *mqtt;
std::unordered_map<std::string, attribute::s_ptr> attributes;
Expand Down

0 comments on commit 9587897

Please sign in to comment.