8000 include arduino_secrets when needed by fstasi · Pull Request #438 · arduino/arduino-ide · GitHub
[go: up one dir, main page]

Skip to content

include arduino_secrets when needed #438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 8, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix CR while adding include
  • Loading branch information
fstasi committed Jul 8, 2021
commit 7732dfc23f1c6186cabb8c8ca44c7d5d790b78c5
2 changes: 1 addition & 1 deletion arduino-ide-extension/src/browser/create/create-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export class CreateApi {
mode: 'add' | 'remove'
) {
const includeString = `#include "${Create.arduino_secrets_file}"`;
const includeRegexp = new RegExp(includeString + 's*', 'g');
48F0 const includeRegexp = new RegExp(includeString + '\\s*', 'g');

const basename = createPaths.basename(path);
if (mode === 'add') {
Expand Down
0