Skip to content

Commit becb901

Browse files
committed
Correct relative path to formatter configuration file
1 parent 923f5c6 commit becb901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-ide-extension/src/node/clang-formatter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function styleJson({
147147
UseTab,
148148
}: ClangFormatOptions): Record<string, unknown> {
149149
// Source: https://github.com/arduino/tooling-project-assets/tree/main/other/clang-format-configuration
150-
const defaultConfig = require('./default-formatter-config.json'); // 1. require the JSON
150+
const defaultConfig = require('../../src/node/default-formatter-config.json'); // 1. require the JSON
151151
return {
152152
...defaultConfig,
153153
TabWidth, // 2. override the default values with the user-defined ones

0 commit comments

Comments
 (0)