Skip to content

Commit

Permalink
cleanup: Delete trailing newlines.
Browse files Browse the repository at this point in the history
Delete trailing newlines from all files, except
tools/ci/success-http-headers.txt and tools/setup/dev-motd, where they
are significant, and static/third, where we want to stay close to
upstream.

Signed-off-by: Anders Kaseorg <[email protected]>
  • Loading branch information
andersk authored and timabbott committed Aug 7, 2019
1 parent becef76 commit 0962393
Show file tree
Hide file tree
Showing 33 changed files with 0 additions and 38 deletions.
1 change: 0 additions & 1 deletion .tx/config
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,3 @@ file_filter = locale/<lang>/translations.json
source_file = locale/en/translations.json
source_lang = en
type = KEYVALUEJSON

1 change: 0 additions & 1 deletion docs/git/working-copies.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,3 @@ working copies:
- `git push`: This pushes code from your local repo to one of the remotes.
- `git remote`: This helps you configure short names for remotes.
- `git pull`: This pulls code, but by default creates a merge commit. **Do not use this, please**!

1 change: 0 additions & 1 deletion docs/subsystems/presence.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,3 @@ about that data structure:
desktop or the mobile app, but for a basic client, you will likely
only want to parse the "aggregated" key, which shows the summary
answer for "is this user online".

1 change: 0 additions & 1 deletion docs/subsystems/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,3 @@ if a user sends a message to a user we don't yet know about,
the third party will confirm that the user exists, and we
subsequently create a "mirror dummy" user on-demand for that
account.)

2 changes: 0 additions & 2 deletions docs/subsystems/widgets.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,5 +414,3 @@ If certain widget features are behind feature flags,
this will slightly complicate the typeahead
implementation. Mostly we just need the server
to share any relevant settings with the client.


1 change: 0 additions & 1 deletion docs/testing/testing-with-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,4 +229,3 @@ To use Webstorm to debug a given node test file, do the following:

[webstorm-debugging]: https://blog.jetbrains.com/webstorm/2018/01/how-to-debug-with-webstorm/
[vagrant-webstorm]: https://www.jetbrains.com/help/webstorm/vagrant-support.html?section=Windows%20or%20Linux

1 change: 0 additions & 1 deletion docs/testing/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,3 @@ significant risk of introducing regressions from typos, refactors that
don't quite work how they were expected to, etc.

[typescript-handbook]: https://www.typescriptlang.org/docs/handbook/basic-types.html

1 change: 0 additions & 1 deletion frontend_tests/node_tests/alert_words_ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,3 @@ run_test('close_status_message', () => {
close(event);
assert(!alert.visible());
});

2 changes: 0 additions & 2 deletions frontend_tests/node_tests/colorspace.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,3 @@ run_test('getHexColor', () => {
var actual_value = colorspace.getHexColor(rgb_color);
assert.equal(actual_value, expected_value);
});


1 change: 0 additions & 1 deletion frontend_tests/node_tests/pm_conversations.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ run_test('insert_recent_private_message', () => {

assert.deepEqual(pmc.recent.get_strings(), ['1', '2']);
});

1 change: 0 additions & 1 deletion frontend_tests/node_tests/presence.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,4 +240,3 @@ run_test('set_info_for_user', () => {
var expected = { status: 'active', mobile: false, last_active: 500 };
assert.deepEqual(presence.presence_info[alice.user_id], expected);
});

1 change: 0 additions & 1 deletion frontend_tests/node_tests/scroll_util.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,3 @@ run_test('scroll_element_into_container', () => {
scroll_util.scroll_element_into_container(elem2, container);
assert.equal(container.scrollTop(), 250 - 100 + 3 + 15);
});

3 changes: 0 additions & 3 deletions frontend_tests/node_tests/settings_profile_fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,3 @@ run_test('populate_profile_fields', () => {
is_admin: true,
});
});



1 change: 0 additions & 1 deletion frontend_tests/node_tests/stream_events.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,4 +382,3 @@ run_test('remove_deactivated_user_from_all_streams', () => {

assert(!dev_help.subscribers.has(george.user_id));
});

1 change: 0 additions & 1 deletion frontend_tests/node_tests/typing_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,3 @@ run_test('timers', () => {
});

});

1 change: 0 additions & 1 deletion frontend_tests/node_tests/unread.js
Original file line number Diff line number Diff line change
Expand Up @@ -623,4 +623,3 @@ run_test('errors', () => {
assert.equal(counts.private_message_count, 0);
test_notifiable_count(counts.home_unread_messages, 0);
});

1 change: 0 additions & 1 deletion puppet/zulip/files/cron.d/update-analytics-counts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ USER=zulip

# Run update analytics tables every 5 minutes past the hour
5 * * * * zulip /home/zulip/deployments/current/manage.py update_analytics_counts

1 change: 0 additions & 1 deletion puppet/zulip_ops/files/motd.lb0
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ To connect to an app server, you need to run:
ssh <servername>.zulip.net

Note the .net, not the .com.

1 change: 0 additions & 1 deletion puppet/zulip_ops/files/munin/apache.conf
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,3 @@ ScriptAlias /munin-cgi/munin-cgi-html /usr/lib/munin/cgi/munin-cgi-html
SetHandler cgi-script
</IfModule>
</Location>

1 change: 0 additions & 1 deletion puppet/zulip_ops/files/nagios3/nagios.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -1353,4 +1353,3 @@ debug_file=/var/log/nagios3/nagios.debug
max_debug_file_size=1000000
allow_empty_hostgroup_assignment=1
1 change: 0 additions & 1 deletion scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ This directory contains scripts that:

For more details, see
https://zulip.readthedocs.io/en/latest/overview/directory-structure.html.

2 changes: 0 additions & 2 deletions templates/zerver/help/include/webhook-url-with-bot-email.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ In the URL field, enter:
Replace `bot_email` and `bot_api_key` above with the URL-encoded email
address and API key of the bot. To URL-encode the email address, you
just need to replace `@` in the bot's email address with `%40`.


1 change: 0 additions & 1 deletion tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ Note that tools that are also useful in production belong in

For more details, see
https://zulip.readthedocs.io/en/latest/overview/directory-structure.html.

Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@
"url":"http://app.raygun.io/application-url"
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@
"url":"http://app.raygun.io/application-url"
}
}

1 change: 0 additions & 1 deletion zerver/webhooks/raygun/fixtures/error_status_changed.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@
"url":"http://app.raygun.io/application-url"
}
}

1 change: 0 additions & 1 deletion zerver/webhooks/raygun/fixtures/hourly_followup_error.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@
"url":"http://app.raygun.io/application-url"
}
}

1 change: 0 additions & 1 deletion zerver/webhooks/raygun/fixtures/new_error.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,3 @@
"url":"http://app.raygun.io/application-url"
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@
"url":"http://app.raygun.io/application-url"
}
}

1 change: 0 additions & 1 deletion zerver/webhooks/raygun/fixtures/reoccurred_error.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,3 @@
"url":"http://app.raygun.io/application-url"
}
}

1 change: 0 additions & 1 deletion zerver/webhooks/stripe/fixtures/customer_created.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,3 @@
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,3 @@
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,3 @@
}
}
}

0 comments on commit 0962393

Please sign in to comment.