Skip to content

Commit f4465e6

Browse files
almeidxRafaelGSS
authored andcommitted
tools: fix macro name in update-undici
PR-URL: #46217 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
1 parent 4ff2822 commit f4465e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/update-undici.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ rm -f deps/undici/undici.js
3232
FILE_PATH="$ROOT/src/undici_version.h"
3333
echo "// This is an auto generated file, please do not edit." > "$FILE_PATH"
3434
echo "// Refer to tools/update-undici.sh" >> "$FILE_PATH"
35-
echo "#ifndef SRC_ACORN_VERSION_H_" >> "$FILE_PATH"
36-
echo "#define SRC_ACORN_VERSION_H_" >> "$FILE_PATH"
35+
echo "#ifndef SRC_UNDICI_VERSION_H_" >> "$FILE_PATH"
36+
echo "#define SRC_UNDICI_VERSION_H_" >> "$FILE_PATH"
3737
echo "#define UNDICI_VERSION \"$UNDICI_VERSION\"" >> "$FILE_PATH"
38-
echo "#endif // SRC_ACORN_VERSION_H_" >> "$FILE_PATH"
38+
echo "#endif // SRC_UNDICI_VERSION_H_" >> "$FILE_PATH"
3939
)
4040

4141
mv undici-tmp/node_modules/undici deps/undici/src

0 commit comments

Comments
 (0)