hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
59e50bd614cd44436a6be685b45e643bebd0261c
diff --git a/client.go b/client.go index <HASH>..<HASH> 100644 --- a/client.go +++ b/client.go @@ -1662,6 +1662,10 @@ func (me *Client) connectionLoop(t *torrent, c *connection) error { me.mu.Lock() me.addPeers(t, func() (ret []Peer) { for i, cp := range pexMsg.Added { + if cp.Port == 0 { + ...
Log who's giving us zero ports over PEX In the long run this will help determine why this happens.
anacrolix_torrent
train
go
7e3765c003e28fac9c565caff7ac7f18706e1d84
diff --git a/lib/pvoutput/client.rb b/lib/pvoutput/client.rb index <HASH>..<HASH> 100644 --- a/lib/pvoutput/client.rb +++ b/lib/pvoutput/client.rb @@ -86,7 +86,6 @@ module PVOutput end # rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity - # rubocop:disable Metrics/...
Removed unnecessary disable of Metrics/AbcSize * lib/pvoutput/client.rb:
johnf_pvoutput
train
rb
2bd79141bc82d1d82f3cb514c7f23379ccba6470
diff --git a/src/com/google/javascript/jscomp/DefaultPassConfig.java b/src/com/google/javascript/jscomp/DefaultPassConfig.java index <HASH>..<HASH> 100644 --- a/src/com/google/javascript/jscomp/DefaultPassConfig.java +++ b/src/com/google/javascript/jscomp/DefaultPassConfig.java @@ -211,7 +211,7 @@ public final class De...
Add missing check to disable other transpilation passes. ------------- Created by MOE: <URL>
google_closure-compiler
train
java
738d5a9f7db7b279278aaf18130f307f3d5bd45e
diff --git a/src/main/java/com/github/underscore/U.java b/src/main/java/com/github/underscore/U.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/github/underscore/U.java +++ b/src/main/java/com/github/underscore/U.java @@ -2060,7 +2060,7 @@ public class U<T> { final long passwordLength = Math.abs(UUID....
Fix lgtm warning.
javadev_underscore-java
train
java
fbe143809ff3648c56faa41070b8b8a59cd28771
diff --git a/src/Models/CassandraConfig.php b/src/Models/CassandraConfig.php index <HASH>..<HASH> 100644 --- a/src/Models/CassandraConfig.php +++ b/src/Models/CassandraConfig.php @@ -1,12 +1,12 @@ <?php namespace DreamFactory\Core\Cassandra\Models; -use DreamFactory\Core\Database\Components\SupportsUpsert; +use Dre...
DF-<I> Support for data retrieval (GET) caching and configuration
dreamfactorysoftware_df-cassandra
train
php
e74e48960a71bcb184eba39a0aa003a8df7a336d
diff --git a/src/org/zaproxy/zap/extension/stdmenus/PopupMenuCopyUrls.java b/src/org/zaproxy/zap/extension/stdmenus/PopupMenuCopyUrls.java index <HASH>..<HASH> 100644 --- a/src/org/zaproxy/zap/extension/stdmenus/PopupMenuCopyUrls.java +++ b/src/org/zaproxy/zap/extension/stdmenus/PopupMenuCopyUrls.java @@ -57,6 +57,11 @...
Enable Copy URLs pop up menu item for all messages Change pop up menu item "Copy URLs to Clipboard" (PopupMenuCopyUrls) to be enabled for all HTTP message types, so it can be used in all GUI components that show HTTP messages.
zaproxy_zaproxy
train
java
fad5bec9363842f7fb62a0ea331acfb3dff3c196
diff --git a/salt/config/__init__.py b/salt/config/__init__.py index <HASH>..<HASH> 100644 --- a/salt/config/__init__.py +++ b/salt/config/__init__.py @@ -1781,7 +1781,7 @@ def minion_config(path, minion_opts = salt.config.minion_config('/etc/salt/minion') ''' if defaults is None: - defaults =...
Work with a copy of default opts dictionaries
saltstack_salt
train
py
d2b65521671ac4cef57a1fdf35984c7a240a0499
diff --git a/src/Koldy/Db/Migration/KoldyMigration.php b/src/Koldy/Db/Migration/KoldyMigration.php index <HASH>..<HASH> 100644 --- a/src/Koldy/Db/Migration/KoldyMigration.php +++ b/src/Koldy/Db/Migration/KoldyMigration.php @@ -2,6 +2,7 @@ namespace Koldy\Db\Migration; +use Koldy\Application; use Koldy\Db\Model; ...
Ability to define where koldy_migration will be stored
koldy_framework
train
php
8e86d6e3706ec5db5f8fb4fd7cfd251d3e912cff
diff --git a/test/fixtures/stash.js b/test/fixtures/stash.js index <HASH>..<HASH> 100644 --- a/test/fixtures/stash.js +++ b/test/fixtures/stash.js @@ -22,15 +22,17 @@ module.exports = function (grunt) { grunt.file.write('test.txt', 'test'); }); - grunt.registerTask('stage', 'Stages the changed file',...
Updated test Gruntfile with proper callback
rubenv_grunt-git
train
js
cd59cc2c0ebd687ebd513d86e6ac8d2bfbb87971
diff --git a/src/Propel/Common/Config/PropelConfiguration.php b/src/Propel/Common/Config/PropelConfiguration.php index <HASH>..<HASH> 100644 --- a/src/Propel/Common/Config/PropelConfiguration.php +++ b/src/Propel/Common/Config/PropelConfiguration.php @@ -29,8 +29,15 @@ class PropelConfiguration implements Configuration...
Resorting to feature detection to avoid a breaking change
propelorm_Propel2
train
php
ef94fc270ba7614e52bee80dd15df08e69298769
diff --git a/tests/automated/event-data/EventObject-parsing.js b/tests/automated/event-data/EventObject-parsing.js index <HASH>..<HASH> 100644 --- a/tests/automated/event-data/EventObject-parsing.js +++ b/tests/automated/event-data/EventObject-parsing.js @@ -35,4 +35,19 @@ describe('Event Object parsing', function() { ...
disabled test for dup event ids
fullcalendar_fullcalendar
train
js
6497bf0123f6f12d47539faf604b92bae607367f
diff --git a/request.go b/request.go index <HASH>..<HASH> 100644 --- a/request.go +++ b/request.go @@ -61,9 +61,9 @@ func (client *Client) doJsonRequest(method, api string, req.Header.Add("Content-Type", "application/json") } - // Perform the request and retry it if it's not a POST request + // Perform the reque...
Don't use doRequestWithRetries with PUT requests
zorkian_go-datadog-api
train
go
0306129826a3a1ddd364b26cc2521f5c75b2e4fd
diff --git a/app/models/pageflow/revision.rb b/app/models/pageflow/revision.rb index <HASH>..<HASH> 100644 --- a/app/models/pageflow/revision.rb +++ b/app/models/pageflow/revision.rb @@ -44,7 +44,9 @@ module Pageflow scope :auto_snapshots, -> { where(snapshot_type: 'auto') } validates :entry, :presence => t...
Fix presence validation for user null object
codevise_pageflow
train
rb
dcb6382ba129f4d7b9dbbbca73006e10e320ed53
diff --git a/Swat/SwatFlydown.php b/Swat/SwatFlydown.php index <HASH>..<HASH> 100644 --- a/Swat/SwatFlydown.php +++ b/Swat/SwatFlydown.php @@ -108,8 +108,10 @@ class SwatFlydown extends SwatOptionControl implements SwatState $option_tag->removeAttribute('class'); } - if ($this->value === (string)$flydow...
Only cast to string in comparison if serialize_values is true. svn commit r<I>
silverorange_swat
train
php
cbcfbe130fceccd6af11a2bd7745d2016564120b
diff --git a/examples/transfer-files/public/js/app.js b/examples/transfer-files/public/js/app.js index <HASH>..<HASH> 100644 --- a/examples/transfer-files/public/js/app.js +++ b/examples/transfer-files/public/js/app.js @@ -32,17 +32,8 @@ function start () { if (!node) { updateView('starting', node) - const...
docs: update transfer-files example, webrtc is now on by default
ipfs_js-ipfs
train
js
51515b33309bd9921fe568a73dfe632629cce616
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -97,7 +97,9 @@ function handleAsyncComputedPropetyChanges (vm, key, pluginOptions, Vue) { Vue.set(vm.$data._asyncComputed, key, { exception: null, update: () => { - watcher(getterOnly(vm.$opti...
update method test if instance has been destroyed
foxbenjaminfox_vue-async-computed
train
js
9f44d972c749f773a2f509b4e1ab861bebd41171
diff --git a/lib/moodlelib.php b/lib/moodlelib.php index <HASH>..<HASH> 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -268,7 +268,9 @@ function require_login($courseid=0) { // First check that the user is logged in to the site. if (! (isset($USER->loggedin) and $USER->confirmed and ($USER->site ==...
Add slashes to data pulled out of external source, just in case O'Brien logs in :-)
moodle_moodle
train
php
059a3c8ae82ec427469ef87dcb230664b573fec4
diff --git a/mrq/version.py b/mrq/version.py index <HASH>..<HASH> 100644 --- a/mrq/version.py +++ b/mrq/version.py @@ -1 +1 @@ -VERSION = "0.0.42" +VERSION = "0.0.43"
version bump to include rate limit and task progress
pricingassistant_mrq
train
py
3d4ef964ad401564403187a2544a7ae852071978
diff --git a/src/DOM.js b/src/DOM.js index <HASH>..<HASH> 100644 --- a/src/DOM.js +++ b/src/DOM.js @@ -2584,7 +2584,7 @@ class HTMLAudioElement extends HTMLMediaElement { } get loop() { - return this.audio && this.audio.loop; + return this.audio ? this.audio.loop : false; } set loop(loop) {
Clean up HTMLAudioElement loop getter to always return a Boolean
exokitxr_exokit
train
js
f01102a17f85923e03dad6cac358898ee4369047
diff --git a/lib/webpacker/compiler.rb b/lib/webpacker/compiler.rb index <HASH>..<HASH> 100644 --- a/lib/webpacker/compiler.rb +++ b/lib/webpacker/compiler.rb @@ -78,6 +78,8 @@ class Webpacker::Compiler end def webpack_env - env.merge("NODE_ENV" => @webpacker.env, "WEBPACKER_ASSET_HOST" => ActionContro...
add relative_url_root to webpacker config (#<I>)
rails_webpacker
train
rb
a41d82b8828a08779af53c190732e25144987d64
diff --git a/lib/xcake/dependency_provider.rb b/lib/xcake/dependency_provider.rb index <HASH>..<HASH> 100644 --- a/lib/xcake/dependency_provider.rb +++ b/lib/xcake/dependency_provider.rb @@ -11,7 +11,20 @@ module Xcake # Code for searching for dependencies # - dependency_class.load_plugins + p...
Implements TSort methods.
igor-makarov_xcake
train
rb
bd77fbd1d52c456497bb42180ab92aba7031343d
diff --git a/src/Sokil/Mongo/Search.php b/src/Sokil/Mongo/Search.php index <HASH>..<HASH> 100644 --- a/src/Sokil/Mongo/Search.php +++ b/src/Sokil/Mongo/Search.php @@ -118,7 +118,7 @@ class Search implements \Iterator, \Countable $className = $this->_collection ->getDocumentClassName(); -...
bugfix of iteration through search results
sokil_php-mongo
train
php
4d475fa1f4ffb92b6aa2c35542fd36e8cebaaf26
diff --git a/py2cytoscape/cyrest/base.py b/py2cytoscape/cyrest/base.py index <HASH>..<HASH> 100644 --- a/py2cytoscape/cyrest/base.py +++ b/py2cytoscape/cyrest/base.py @@ -113,6 +113,10 @@ def api(namespace=None,command="",PARAMS={},host=HOST,port=str(PORT),version=VER print res sys.stdout.flus...
added print error from post if existing
cytoscape_py2cytoscape
train
py
b001a8146c2cb4b793751c0d2e5182952d89c277
diff --git a/javascript/atoms/dom.js b/javascript/atoms/dom.js index <HASH>..<HASH> 100644 --- a/javascript/atoms/dom.js +++ b/javascript/atoms/dom.js @@ -629,7 +629,9 @@ bot.dom.getElementSize = function(element) { // If the element is the BODY, then get the visible size. if (bot.dom.isElement(element, goog.dom....
JasonLeyba: The type annotation is incorrect on goog.dom.getWindow; it will always return a non-null Window. r<I>
SeleniumHQ_selenium
train
js
8f8b2320fd16f5b9ec84501d6709a1a38bd96672
diff --git a/lib/openfoodfacts/version.rb b/lib/openfoodfacts/version.rb index <HASH>..<HASH> 100644 --- a/lib/openfoodfacts/version.rb +++ b/lib/openfoodfacts/version.rb @@ -1,3 +1,3 @@ module Openfoodfacts - VERSION = "0.1.0" + VERSION = "0.1.1" end
Bump to version <I>
openfoodfacts_openfoodfacts-ruby
train
rb
07f182fcbd2263b576590ab10c633d97fdd090e5
diff --git a/inject.js b/inject.js index <HASH>..<HASH> 100644 --- a/inject.js +++ b/inject.js @@ -77,13 +77,15 @@ return function (db, masterDb, id) { masterDb = masterDb || 'master' if('string' === typeof masterDb) - masterDb = db.sublevel(masterDb) - var clockDb = masterDb.sublevel('clock') + masterDb...
correct way to test the which sublevel a record is stored into
dominictarr_level-replicate
train
js
82b33fd5694d223801961b96a410f4f961b47dda
diff --git a/engine/src/test/java/org/camunda/bpm/engine/test/api/task/TaskServiceTest.java b/engine/src/test/java/org/camunda/bpm/engine/test/api/task/TaskServiceTest.java index <HASH>..<HASH> 100644 --- a/engine/src/test/java/org/camunda/bpm/engine/test/api/task/TaskServiceTest.java +++ b/engine/src/test/java/org/cam...
chore(test): cleanup after test Related to CAM-<I>
camunda_camunda-bpm-platform
train
java
d214057cadaa47f18de45d408ed93ac54e5d634a
diff --git a/version.php b/version.php index <HASH>..<HASH> 100644 --- a/version.php +++ b/version.php @@ -29,11 +29,11 @@ defined('MOODLE_INTERNAL') || die(); -$version = 2013110500.01; // YYYYMMDD = weekly release date of this DEV branch. +$version = 2013110600.00; // YYYYMMDD ...
on-demand release <I>beta+
moodle_moodle
train
php
78cb2630d10b812849d4f40eb6e16f4379890f19
diff --git a/Eloquent/Model.php b/Eloquent/Model.php index <HASH>..<HASH> 100755 --- a/Eloquent/Model.php +++ b/Eloquent/Model.php @@ -2343,6 +2343,8 @@ abstract class Model implements ArrayAccess, ArrayableInterface, JsonableInterfa { $attributes[$key] = $relation; } + + unset($relation); } retu...
fix relationsToArray The relationsToArray needs to unset it's relation value at the end of every loop.
illuminate_database
train
php
f377c0ab098d412ddbd700df5e98f820a36a25a0
diff --git a/src/rdfauthor.predicaterow.js b/src/rdfauthor.predicaterow.js index <HASH>..<HASH> 100644 --- a/src/rdfauthor.predicaterow.js +++ b/src/rdfauthor.predicaterow.js @@ -142,6 +142,7 @@ function PredicateRow(subjectURI, predicateURI, title, container, id, allowOverr // initialize widget ...
Added: keep reference to predicate row in widget
AKSW_RDFauthor
train
js,js
11c6d99285946a4558cad642c5298982776acba1
diff --git a/docs/_scripts/generate_dynamic_pages.py b/docs/_scripts/generate_dynamic_pages.py index <HASH>..<HASH> 100755 --- a/docs/_scripts/generate_dynamic_pages.py +++ b/docs/_scripts/generate_dynamic_pages.py @@ -164,7 +164,7 @@ def create_config_page(): n_indent = len(listing_match.group(1)) ...
Fix int division in docs.
riga_law
train
py
87fc90ee46970ba1c2a89ce48a340723560a98b6
diff --git a/tests/features/http/test_requester.py b/tests/features/http/test_requester.py index <HASH>..<HASH> 100644 --- a/tests/features/http/test_requester.py +++ b/tests/features/http/test_requester.py @@ -7,10 +7,13 @@ from tests.helpers.factory import Factory as F class TestRequester(unittest.TestCase): ...
tests: closes requester test client
algolia_algoliasearch-client-python
train
py
634548c8619ed56850682b4941e4ef968c6799bd
diff --git a/src/jquery.lazyloadxt.picture.js b/src/jquery.lazyloadxt.picture.js index <HASH>..<HASH> 100644 --- a/src/jquery.lazyloadxt.picture.js +++ b/src/jquery.lazyloadxt.picture.js @@ -29,6 +29,7 @@ }); } + $img.attr('src', src); return src; }
fix set of img src in picture addon
ressio_lazy-load-xt
train
js
e922a78471afe37ab843ba08bb5aa43b4ffafc3e
diff --git a/console/src/main/resources/root/libs/composum/nodes/browser/js/query.js b/console/src/main/resources/root/libs/composum/nodes/browser/js/query.js index <HASH>..<HASH> 100644 --- a/console/src/main/resources/root/libs/composum/nodes/browser/js/query.js +++ b/console/src/main/resources/root/libs/composum/nod...
#<I> missed 'charset' parameter fixed in query form submit - also for the 'export' execution
ist-dresden_composum
train
js
0d4740a1857dcb262c2ad36b74eb2dc8d8b0dff8
diff --git a/src/MaxMind/Db/Reader.php b/src/MaxMind/Db/Reader.php index <HASH>..<HASH> 100644 --- a/src/MaxMind/Db/Reader.php +++ b/src/MaxMind/Db/Reader.php @@ -151,12 +151,18 @@ class Reader if ($this->ipV4Start != 0) { return $this->ipV4Start; } - $nodeNum = 0; + $node =...
Fixed bug when IPv4 tree does not exist
maxmind_MaxMind-DB-Reader-php
train
php
399ba60eb17744ea4c45891e29140f1a2b44a4c0
diff --git a/netpyne/analysis/hnn.py b/netpyne/analysis/hnn.py index <HASH>..<HASH> 100644 --- a/netpyne/analysis/hnn.py +++ b/netpyne/analysis/hnn.py @@ -28,7 +28,10 @@ import numpy as np @exception def plotDipole(): from .. import sim - from bokeh.plotting import figure, show, output_file + from bokeh.pl...
Change plotDipole to return html instead of saving it as a file
Neurosim-lab_netpyne
train
py
7a57ba0ac46b40850e2178973f3085c8e26878a6
diff --git a/pysat/tests/test_instrument.py b/pysat/tests/test_instrument.py index <HASH>..<HASH> 100644 --- a/pysat/tests/test_instrument.py +++ b/pysat/tests/test_instrument.py @@ -63,7 +63,7 @@ class TestBasics(): self.out = self.testInst.index[-1] # 10 seconds per file assert(self.out == ...
BUG: updated time check, multi-load-days
rstoneback_pysat
train
py
bf1dfe4d31998f779db4f0e81f861052e55a2dea
diff --git a/views/js/qtiCreator/widgets/interactions/extendedTextInteraction/states/Question.js b/views/js/qtiCreator/widgets/interactions/extendedTextInteraction/states/Question.js index <HASH>..<HASH> 100755 --- a/views/js/qtiCreator/widgets/interactions/extendedTextInteraction/states/Question.js +++ b/views/js/qtiC...
chore: use a single translation key for a new `Rich text + math` format in `extendedTextInteraction/states/Question.js`
oat-sa_extension-tao-itemqti
train
js
1ae1c208836228929aad38c6dd8bf1eb0041804c
diff --git a/src/EloquentRepository.php b/src/EloquentRepository.php index <HASH>..<HASH> 100644 --- a/src/EloquentRepository.php +++ b/src/EloquentRepository.php @@ -623,7 +623,8 @@ class EloquentRepository implements Repository $instance = $this->read(); $this->fill($instance); - return $instance; + // Retu...
Repository updates should return updated resource instead of the resource at the state previous to mdoifications, which wouldn't always include nested updates
fuzz-productions_magic-box
train
php
fbe265a688a5cd3566c9019d8b375300b407fc6b
diff --git a/src/base/FilterListBox.js b/src/base/FilterListBox.js index <HASH>..<HASH> 100644 --- a/src/base/FilterListBox.js +++ b/src/base/FilterListBox.js @@ -5,6 +5,7 @@ import { itemAvailableInState, raiseChangeEvents, render, + rendered, setState, state, } from "./internal.js"; @@ -108,6 +109,15...
Ensure cursor stays in view after filter change.
elix_elix
train
js
de122eb6bc92cd51fe40542578f62dfb825fe3b7
diff --git a/lib/discordrb/events/message.rb b/lib/discordrb/events/message.rb index <HASH>..<HASH> 100644 --- a/lib/discordrb/events/message.rb +++ b/lib/discordrb/events/message.rb @@ -181,10 +181,10 @@ module Discordrb::Events # Raised when a message is edited # @see Discordrb::EventContainer#message_edit - ...
Make MessageEditEvent inherit from MessageEvent so we can get the content of edited message
meew0_discordrb
train
rb
b674f2af31fbc5bb25c199170a8252ea869b9993
diff --git a/src/mattermostdriver/websocket.py b/src/mattermostdriver/websocket.py index <HASH>..<HASH> 100644 --- a/src/mattermostdriver/websocket.py +++ b/src/mattermostdriver/websocket.py @@ -29,7 +29,7 @@ class Websocket: :type event_handler: Function(message) :return: """ - contex...
Change auth method From client auth to server auth
Vaelor_python-mattermost-driver
train
py
5a59e2aecb35828533159ca3869dca24a1555fe3
diff --git a/src/Util/Num.php b/src/Util/Num.php index <HASH>..<HASH> 100644 --- a/src/Util/Num.php +++ b/src/Util/Num.php @@ -121,4 +121,32 @@ class Num return $string; } + + + /** + * Sanitize a list of numeric IDs, and return the same format + * @param array/string $ids (array or c...
Add method to sanitize numeric IDs
tacowordpress_util
train
php
7a57df67efdf8eb3b62dc1cdcb6061b4b029814c
diff --git a/lib/infoblox/resource/fixedaddress.rb b/lib/infoblox/resource/fixedaddress.rb index <HASH>..<HASH> 100644 --- a/lib/infoblox/resource/fixedaddress.rb +++ b/lib/infoblox/resource/fixedaddress.rb @@ -5,7 +5,8 @@ module Infoblox :ipv4addr, :mac, ...
Add match_client field for fixedaddress reservation
govdelivery_infoblox
train
rb
0cd720fe512d48c2af81fc054c042c9c63e8a234
diff --git a/mod/assign/tests/events_test.php b/mod/assign/tests/events_test.php index <HASH>..<HASH> 100644 --- a/mod/assign/tests/events_test.php +++ b/mod/assign/tests/events_test.php @@ -472,6 +472,7 @@ class assign_events_testcase extends mod_assign_base_testcase { } public function test_submission_gra...
MDL-<I> assign: disable sesskey protection for unit test.
moodle_moodle
train
php
0539ae883f2891db6bd7acec5ce8a4381ee82b63
diff --git a/go/keybase/main_test.go b/go/keybase/main_test.go index <HASH>..<HASH> 100644 --- a/go/keybase/main_test.go +++ b/go/keybase/main_test.go @@ -4,12 +4,13 @@ import ( "crypto/rand" "encoding/base32" "fmt" - "github.com/ThomasRooney/gexpect" "os" "os/exec" "path" "strings" "testing" + + "githu...
Fix flags for test (was failing)
keybase_client
train
go
8797fda1e39f7e62d77a5f68238d6d3edceae4a7
diff --git a/addon/components/new-learningmaterial.js b/addon/components/new-learningmaterial.js index <HASH>..<HASH> 100644 --- a/addon/components/new-learningmaterial.js +++ b/addon/components/new-learningmaterial.js @@ -107,7 +107,6 @@ export default class NewLearningmaterialComponent extends Component { br...
rm debugging statement.
ilios_common
train
js
3a9a8bde3643f0e5b2f0fb7ecff3e54720ca932d
diff --git a/bin/build_bootstrap.php b/bin/build_bootstrap.php index <HASH>..<HASH> 100755 --- a/bin/build_bootstrap.php +++ b/bin/build_bootstrap.php @@ -34,6 +34,10 @@ if (file_exists($file)) { // and load the new one SymfonyClassCollectionLoader::load(array( 'Mustache_Engine', + 'Mustache_Cache', + 'Mus...
Update bin/build_bootstrap.php for Cache classes.
bobthecow_mustache.php
train
php
9d9053e5eaa5bf1c67770ee2bd6c1514a8c2d113
diff --git a/src/Select.js b/src/Select.js index <HASH>..<HASH> 100644 --- a/src/Select.js +++ b/src/Select.js @@ -105,7 +105,8 @@ var Select = React.createClass({ }, componentDidUpdate () { - if (this.refs.focused && this.refs.menu) { + if (this._scrollToFocusedOptionOnUpdate && this.refs.focused && this.refs....
Fixing focus scrolling behaviour on option hover
HubSpot_react-select-plus
train
js
5d0d6560d30598d69753a8b4e48c3e206a0a84be
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -58,9 +58,10 @@ setup( 'jsonschema==3.0.2', 'pyyaml==5.1.2', 'requests>=2.22.0', + 'greenlet==0.4.16', 'gevent==1.4.0', 'gevent-websocket==0.10.1', - 'pyzmq==18.1.0' +...
Issue #<I> - Pin greenlets to <I> for gevent <I> compatibility
NASA-AMMOS_AIT-Core
train
py
24039bb2f553cc09ac65e08fceff154991f49208
diff --git a/app/forms/curation_concerns/forms/collection_edit_form.rb b/app/forms/curation_concerns/forms/collection_edit_form.rb index <HASH>..<HASH> 100644 --- a/app/forms/curation_concerns/forms/collection_edit_form.rb +++ b/app/forms/curation_concerns/forms/collection_edit_form.rb @@ -11,6 +11,8 @@ module Curation...
Mark the title field as required for the collection edit form
samvera_hyrax
train
rb,rb
118221f2f36ab39c81714e22829759aa6180decb
diff --git a/Command/ImportMappingDoctrineCommand.php b/Command/ImportMappingDoctrineCommand.php index <HASH>..<HASH> 100644 --- a/Command/ImportMappingDoctrineCommand.php +++ b/Command/ImportMappingDoctrineCommand.php @@ -77,6 +77,9 @@ EOT $em = $this->getEntityManager($this->container, $input->getOption('em'...
=Fixed a Notice level error thrown when running doctrine:mapping:import, was undefined.
doctrine_DoctrineBundle
train
php
a1a4dedcc6a4140fffc8c72d1a01cd45e9cc2ba1
diff --git a/aeron-cluster/src/main/java/io/aeron/cluster/client/AeronCluster.java b/aeron-cluster/src/main/java/io/aeron/cluster/client/AeronCluster.java index <HASH>..<HASH> 100644 --- a/aeron-cluster/src/main/java/io/aeron/cluster/client/AeronCluster.java +++ b/aeron-cluster/src/main/java/io/aeron/cluster/client/Aer...
[Java] Tidy up.
real-logic_aeron
train
java
6291319d1da3739490cf1f9a404561312067235a
diff --git a/polyfill.js b/polyfill.js index <HASH>..<HASH> 100644 --- a/polyfill.js +++ b/polyfill.js @@ -23,7 +23,7 @@ module.exports = MapPoly = function (/*iterable, comparator*/) { throw new TypeError(this + " cannot be reinitialized"); } if (iterable != null) iterator(iterable); - if (comparator != null) {...
`comparator` resolution strict to spec
medikoo_es6-map
train
js
1049cd7508d0ff86cb6fc314d6eaba89ad8ae98a
diff --git a/lib/node/valueExpression.js b/lib/node/valueExpression.js index <HASH>..<HASH> 100644 --- a/lib/node/valueExpression.js +++ b/lib/node/valueExpression.js @@ -148,6 +148,7 @@ var ValueExpressionMixin = function() { at : atMethod, contains : binaryMethod('@>'), containedBy : binaryMe...
Added value expression for ? operator "contain key" (#<I>)
brianc_node-sql
train
js
cdb2bf162284700beb1a3a9e6a8016f46785ec2d
diff --git a/goatools/godag_plot.py b/goatools/godag_plot.py index <HASH>..<HASH> 100755 --- a/goatools/godag_plot.py +++ b/goatools/godag_plot.py @@ -58,9 +58,12 @@ class GODagPltVars(object): } alpha2col = OrderedDict([ + # GOEA GO terms that are significant (0.005, 'mistyrose'), ...
If GO terms are associated with study ids, but are not significant, make the box grey.
tanghaibao_goatools
train
py
688caf10b7b279a44e48eb73077f2d926ccb0427
diff --git a/lib/testium-driver-wd.js b/lib/testium-driver-wd.js index <HASH>..<HASH> 100644 --- a/lib/testium-driver-wd.js +++ b/lib/testium-driver-wd.js @@ -8,11 +8,25 @@ function initDriver(testium) { return this.get(testium.getNewPageUrl(url)); }); + wd.addPromiseChainMethod('clearCookies', function() { ...
Roughly working with testium-mocha
testiumjs_testium-driver-wd
train
js
b20e6e46d130c3367d917e2809d9240879b4f319
diff --git a/test/org/mockitousage/basicapi/MocksSerializationTest.java b/test/org/mockitousage/basicapi/MocksSerializationTest.java index <HASH>..<HASH> 100644 --- a/test/org/mockitousage/basicapi/MocksSerializationTest.java +++ b/test/org/mockitousage/basicapi/MocksSerializationTest.java @@ -275,4 +275,18 @@ public c...
added missing tests for my sanity --HG-- extra : convert_revision : svn%3Aaa2aecf3-ea3e-<I>-9d<I>-<I>e7c<I>/trunk%<I>
mockito_mockito
train
java
1a6c47e880f8d600edcf387a9a26c4a0c2956d05
diff --git a/openupgradelib/openupgrade_merge_records.py b/openupgradelib/openupgrade_merge_records.py index <HASH>..<HASH> 100644 --- a/openupgradelib/openupgrade_merge_records.py +++ b/openupgradelib/openupgrade_merge_records.py @@ -368,7 +368,7 @@ def _adjust_merged_values_orm(env, model_name, record_ids, target_rec...
[FIX] openupgrade_merge_records: l[0] is not valid for `filter` object
OCA_openupgradelib
train
py
f7313fae9397cc1be8346ab754895aa5b74bce78
diff --git a/src/Models/Gallery.php b/src/Models/Gallery.php index <HASH>..<HASH> 100644 --- a/src/Models/Gallery.php +++ b/src/Models/Gallery.php @@ -2,9 +2,9 @@ namespace TypiCMS\Modules\Galleries\Models; use Dimsav\Translatable\Translatable; +use Laracasts\Presenter\PresentableTrait; use TypiCMS\Models\Base; u...
use of laracasts/presenter
TypiCMS_Galleries
train
php,php
ccf82e92d0f292773c656abcf41bb075d198161f
diff --git a/groovy/src/main/java/org/kohsuke/stapler/jelly/groovy/JellyBuilder.java b/groovy/src/main/java/org/kohsuke/stapler/jelly/groovy/JellyBuilder.java index <HASH>..<HASH> 100644 --- a/groovy/src/main/java/org/kohsuke/stapler/jelly/groovy/JellyBuilder.java +++ b/groovy/src/main/java/org/kohsuke/stapler/jelly/gr...
Convert GString to string when bridging to jelly. When using a groovy view and passing a groovy expression as "${e1}${e2}" to a taglib, the resulting value is not coerced to a String, which can lead to incorrect results when calling functions from within jelly.
stapler_stapler
train
java
edd152248d4b780cd15cec03b14661e2aa1fbcc9
diff --git a/src/Core/Action.php b/src/Core/Action.php index <HASH>..<HASH> 100644 --- a/src/Core/Action.php +++ b/src/Core/Action.php @@ -6,7 +6,7 @@ abstract class Action { protected $scenario; - abstract public function execute(); + abstract public function execute($result); public function __in...
fix minor issue with Action/SideAction
keiosweb_apparatus
train
php
360785df3564d366f09b5b726e373820bca4e5fa
diff --git a/satpy/readers/ahi_hsd.py b/satpy/readers/ahi_hsd.py index <HASH>..<HASH> 100644 --- a/satpy/readers/ahi_hsd.py +++ b/satpy/readers/ahi_hsd.py @@ -459,9 +459,8 @@ class AHIHSDFileHandler(BaseFileHandler): return observation_time.replace( hour=int(timeline[:2]), minute=int(timel...
Remove unnecessary `else` from AHI HSD reader.
pytroll_satpy
train
py
3ea041e86e7af6ac61dc9a4978b77f0533be5856
diff --git a/lib/controller/responder/strategies/html.js b/lib/controller/responder/strategies/html.js index <HASH>..<HASH> 100644 --- a/lib/controller/responder/strategies/html.js +++ b/lib/controller/responder/strategies/html.js @@ -11,7 +11,8 @@ var utils = require('utilities') // Check the content for an...
Can't simply lowercase controller name, have to use inflection
mde_ejs
train
js
db72dbe75448dbe49c19b34cda80ee252db369ec
diff --git a/jaraco/packaging/release.py b/jaraco/packaging/release.py index <HASH>..<HASH> 100644 --- a/jaraco/packaging/release.py +++ b/jaraco/packaging/release.py @@ -103,7 +103,13 @@ def get_mercurial_creds(system='https://bitbucket.org', username=None): Credential = collections.namedtuple('Credential', 'user...
Don't do bitbucket-specific operations unless target is bitbucket; Add hook to override post_release_bump
jaraco_jaraco.packaging
train
py
58f0cff8db1626aa0b9400968903f36a24f75920
diff --git a/lib/conred/helpers.rb b/lib/conred/helpers.rb index <HASH>..<HASH> 100644 --- a/lib/conred/helpers.rb +++ b/lib/conred/helpers.rb @@ -5,8 +5,10 @@ module Conred module Helpers extend self - mattr_accessor :action_view - self.action_view = ActionView::Base.new + + def action_view + ...
Fixed video transparency and refactored helpers
janjiss_conred
train
rb,rb
5aa1a72160547cc2abd77bb414e3c7b69cf2ec87
diff --git a/javascript/quickaddnew.js b/javascript/quickaddnew.js index <HASH>..<HASH> 100644 --- a/javascript/quickaddnew.js +++ b/javascript/quickaddnew.js @@ -92,6 +92,8 @@ jQuery.entwine("quickaddnew", function($) { dlg.load(this.getURL(), function(){ dlg.parent().removeClass("loading"); + // set foc...
Set first input of modal form to be focused on dialog open
sheadawson_silverstripe-quickaddnew
train
js
727acd0014379e2cd32fdc7709a45e3097987ee3
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,9 @@ setup( license="GPL 3", keywords="hamster workreport", url='http://github.com/pyriku/Cobaya', - + install_requires=[ + 'httplib2', + ], packages=find_packages('src'), packag...
Improved setup.py in order to upload it to pypi
pablorecio_Cobaya
train
py
7def680d61c58e20f7aa366cc16548fd798aa4ef
diff --git a/src/Application.php b/src/Application.php index <HASH>..<HASH> 100644 --- a/src/Application.php +++ b/src/Application.php @@ -1549,7 +1549,7 @@ class Application extends Container implements ApplicationContract, HttpKernelIn /** * Determine if the application is running in the console. * -...
Update Application.php Set correct return type
laravel_lumen-framework
train
php
cb5675bc900d978ec23a1fab66da67be004094bf
diff --git a/vulcan/main.go b/vulcan/main.go index <HASH>..<HASH> 100644 --- a/vulcan/main.go +++ b/vulcan/main.go @@ -3,9 +3,14 @@ package main import ( "github.com/golang/glog" "github.com/mailgun/vulcan/service" + "os" + "runtime" ) func main() { + if os.Getenv("GOMAXPROCS") == "" { + runtime.GOMAXPROCS(ru...
If GOMAXPROCS is not set, set it to the number of CPUs.
vulcand_vulcan
train
go
3ab57b0f91dd47bc5b44866daeed77b45c21f347
diff --git a/pybars/_compiler.py b/pybars/_compiler.py index <HASH>..<HASH> 100644 --- a/pybars/_compiler.py +++ b/pybars/_compiler.py @@ -441,6 +441,14 @@ class CodeBuilder: self._locals['resolve_subexpr'] = resolve_subexpr def finish(self): + if debug: + print('Locals') + ...
Add locals output to debug since literal content is stored in vars
wbond_pybars3
train
py
8b0766ed7c59a797dc1115d9206820350d7986d6
diff --git a/modules/Cockpit/views/accounts/account.php b/modules/Cockpit/views/accounts/account.php index <HASH>..<HASH> 100755 --- a/modules/Cockpit/views/accounts/account.php +++ b/modules/Cockpit/views/accounts/account.php @@ -112,7 +112,8 @@ <cp-actionbar> <div...
fix link to '/accounts' for users without access, fixes #<I>
agentejo_cockpit
train
php
464f7a404c76998b1205af5d6b83bfcad2408e2a
diff --git a/salt/version.py b/salt/version.py index <HASH>..<HASH> 100644 --- a/salt/version.py +++ b/salt/version.py @@ -543,6 +543,7 @@ def versions_information(include_salt_cloud=False): ('ZMQ', 'zmq', 'zmq_version'), ('Mako', 'mako', '__version__'), ('Tornado', 'tornado', 'version'), + ...
add timelib to dependency versions Related to #<I>.
saltstack_salt
train
py
17b6aa31bceb4ed25b8a1a581ab7889a2d4f7e3f
diff --git a/bokeh/charts/bar.py b/bokeh/charts/bar.py index <HASH>..<HASH> 100644 --- a/bokeh/charts/bar.py +++ b/bokeh/charts/bar.py @@ -17,11 +17,14 @@ It also add a new chained stacked method. # Imports #----------------------------------------------------------------------------- -import numpy as np -import pa...
add message before failing when numpy is not installed
bokeh_bokeh
train
py
38f16b4f7cb67e30750f0e61519168c450261659
diff --git a/js/binance.js b/js/binance.js index <HASH>..<HASH> 100644 --- a/js/binance.js +++ b/js/binance.js @@ -478,7 +478,6 @@ module.exports = class binance extends Exchange { 'ask': this.safeFloat (ticker, 'askPrice'), 'askVolume': this.safeFloat (ticker, 'askQty'), 'vwap': ...
binance: fetchTicker: prevClose removed
ccxt_ccxt
train
js
3b41d44812eed82d41e135375df15ae0bc3b4800
diff --git a/lib/puppet/provider/mount/parsed.rb b/lib/puppet/provider/mount/parsed.rb index <HASH>..<HASH> 100755 --- a/lib/puppet/provider/mount/parsed.rb +++ b/lib/puppet/provider/mount/parsed.rb @@ -8,16 +8,13 @@ else fstab = "/etc/fstab" end - - Puppet::Type.type(:mount).provide( - :parsed, +Pupp...
Clean up whitespace, and commented out code in parsed mount provider
puppetlabs_puppet
train
rb
a5063dfcfdb75bf940b42d8f5358be08a2dc0dec
diff --git a/packages/common/src/deprecated.js b/packages/common/src/deprecated.js index <HASH>..<HASH> 100644 --- a/packages/common/src/deprecated.js +++ b/packages/common/src/deprecated.js @@ -7,7 +7,7 @@ import {deprecated} from 'core-decorators'; /** * @private - * @returns {undefined} + * @returns {function} ...
fix(common): correct jsdoc for deprecated function
webex_spark-js-sdk
train
js
5eb3e60d512c7dc7ac04e531e6dc947568e0d201
diff --git a/spec/mongoid/criteria_spec.rb b/spec/mongoid/criteria_spec.rb index <HASH>..<HASH> 100644 --- a/spec/mongoid/criteria_spec.rb +++ b/spec/mongoid/criteria_spec.rb @@ -3126,6 +3126,19 @@ describe Mongoid::Criteria do end end end + + context "when searching for a regex on a symbol fiel...
MONGOID-<I> test regexes should work on symbol fields (#<I>)
mongodb_mongoid
train
rb
801290de0240b8a03bfecccaa0e8f8596fa22213
diff --git a/lib/spreadsheet/excel/reader.rb b/lib/spreadsheet/excel/reader.rb index <HASH>..<HASH> 100644 --- a/lib/spreadsheet/excel/reader.rb +++ b/lib/spreadsheet/excel/reader.rb @@ -1143,11 +1143,11 @@ class Reader #puts "\nDEBUG: found a note record in read_worksheet\n" row, col, _, _objID, _objAuthLen,...
*Finally got all the debug out....
zdavatz_spreadsheet
train
rb
c2954fa8dacfb02f86158cb5e5db6661855981c6
diff --git a/lib/support/cli.js b/lib/support/cli.js index <HASH>..<HASH> 100644 --- a/lib/support/cli.js +++ b/lib/support/cli.js @@ -195,7 +195,7 @@ module.exports.parseCommandLine = function parseCommandLine() { WebPageTest cli options */ .option('webpagetest.host', { - default: 'www.webpagetest.org'...
webpagetest is now https :)
sitespeedio_sitespeed.io
train
js
b57213e39fb435ac25cbf0f1f07e8d3e95716aa3
diff --git a/lib/websearch_flask_tests.py b/lib/websearch_flask_tests.py index <HASH>..<HASH> 100644 --- a/lib/websearch_flask_tests.py +++ b/lib/websearch_flask_tests.py @@ -29,7 +29,7 @@ fixture = SQLAlchemyFixture( def p(c, level=0): if c: print ' '*level, '- ',c.name - for i in c.collection_ch...
Flask: configurable DB engine testing
inveniosoftware_invenio-records
train
py
392d88c5e12d3785f669454dc76729a2455ad147
diff --git a/connect.js b/connect.js index <HASH>..<HASH> 100644 --- a/connect.js +++ b/connect.js @@ -39,7 +39,10 @@ exports.connect = function (config, PassedClass, callback) { } catch (e) {} if (switched) { - db.switchDatabase(newConf, function () { + db.switchDatabase(newConf, ...
fix(switchDatabase): no error was thrown on scope switch switchDatabase error was unhandled, which resulted in an unhandled scope switch error. Fixes #<I>
db-migrate_node-db-migrate
train
js
c728c47fc13e70cb6a1a1b0adb4452f79cb24d9e
diff --git a/fasteners/_utils.py b/fasteners/_utils.py index <HASH>..<HASH> 100644 --- a/fasteners/_utils.py +++ b/fasteners/_utils.py @@ -24,7 +24,12 @@ except ImportError: class LockStack(object): - """Simple lock stack to get and release many locks.""" + """Simple lock stack to get and release many locks....
Add warning to lock stack about usage that should not be done
harlowja_fasteners
train
py
651f5fb570b7bab6aa36b79e7eaadb5ce80aac9a
diff --git a/src/Symfony/Component/Yaml/Tests/YamlTest.php b/src/Symfony/Component/Yaml/Tests/YamlTest.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Component/Yaml/Tests/YamlTest.php +++ b/src/Symfony/Component/Yaml/Tests/YamlTest.php @@ -23,7 +23,7 @@ class YamlTest extends \PHPUnit_Framework_TestCase $th...
[Yaml] maked a test as being for deprecated feature
symfony_symfony
train
php
4354a6069c25abfe41a13cd8d5a51608f02b9e1c
diff --git a/gflex/base.py b/gflex/base.py index <HASH>..<HASH> 100644 --- a/gflex/base.py +++ b/gflex/base.py @@ -237,9 +237,11 @@ class Plotting(object): # self.plotChoice #except: # self.plotChoice = None - # This was aspect ratio for 2D: - # self.qs.shape[0]/float(self.qs.shape[1]) # height/w...
1D/2D plotting aspect ratio
awickert_gFlex
train
py
d0955372ffa5b484b493a74d77cacc7190ce1010
diff --git a/src/config.js b/src/config.js index <HASH>..<HASH> 100644 --- a/src/config.js +++ b/src/config.js @@ -1,15 +1,26 @@ var Q = require('q'); var cachedConfig; +var defaultConfig = { + adapter: '', + paths: [], + isDefault: true +}; var Config = function(fs) { this.fs = fs; }; Config.pro...
Update config to support a non-existent config file.
bitbinio_bitbin
train
js
27af82d03b89298452d8fa4892713ce27979a535
diff --git a/src/black.js b/src/black.js index <HASH>..<HASH> 100644 --- a/src/black.js +++ b/src/black.js @@ -5,9 +5,6 @@ * _________________________________________________________________ * * Copyright (c) 2011 Quildreen Motta // Licenced under MIT/X11 * *********************************...
Updates black package entry-point.
sorellabs_black
train
js
28d2a7a9ba4711ac8b9b7909d43703216610255b
diff --git a/examples/tweet.php b/examples/tweet.php index <HASH>..<HASH> 100644 --- a/examples/tweet.php +++ b/examples/tweet.php @@ -25,4 +25,3 @@ $httpClient = new Artax(new Client()); $apiClient = new ApiClient($httpClient, $applicationCredentials, $accessToken); \Amp\wait((new Update($apiClient, 'Test message...
Removed stray slash
PeeHaa_AsyncTwitter
train
php
35c66be661d03600893ddccf4d98683a03c8cae2
diff --git a/core/src/test/java/org/kohsuke/stapler/ClassDescriptorTest.java b/core/src/test/java/org/kohsuke/stapler/ClassDescriptorTest.java index <HASH>..<HASH> 100644 --- a/core/src/test/java/org/kohsuke/stapler/ClassDescriptorTest.java +++ b/core/src/test/java/org/kohsuke/stapler/ClassDescriptorTest.java @@ -51,6 ...
Linking to info about javac’s handling of bridge methods.
stapler_stapler
train
java
34fb5b63900ca6141ab4dfad9c3b55bfac262459
diff --git a/lib/node-progress.js b/lib/node-progress.js index <HASH>..<HASH> 100644 --- a/lib/node-progress.js +++ b/lib/node-progress.js @@ -67,7 +67,8 @@ function ProgressBar(fmt, options) { */ ProgressBar.prototype.tick = function(len, tokens){ - len = len || 1; + if (len !== 0) + len = len || 1; // ...
Added ability to tick by zero chunks - tick(0)
visionmedia_node-progress
train
js
7d8dccd5eb005251d196466cc1b6f4e00e17e14a
diff --git a/lib/nugrant/version.rb b/lib/nugrant/version.rb index <HASH>..<HASH> 100644 --- a/lib/nugrant/version.rb +++ b/lib/nugrant/version.rb @@ -1,3 +1,3 @@ module Nugrant - VERSION = "2.0.0.pre2" + VERSION = "2.0.0.rc1" end
Bumped to <I>.rc1
maoueh_nugrant
train
rb
6b70e68f7a57f5b1db05a7fabc696873db111b73
diff --git a/create.php b/create.php index <HASH>..<HASH> 100644 --- a/create.php +++ b/create.php @@ -1,6 +1,6 @@ <?php -require_once 'simplepie.inc'; +require_once 'simplepie.class.php'; function normalize_character_set($charset) { @@ -141,7 +141,7 @@ function build_function() if ($charsets = build_character...
Update create.php to work with recent changes
simplepie_simplepie
train
php
b386c954f0f02ca665a2432a0b655df13f114219
diff --git a/spyderlib/config.py b/spyderlib/config.py index <HASH>..<HASH> 100644 --- a/spyderlib/config.py +++ b/spyderlib/config.py @@ -175,6 +175,7 @@ DEFAULTS = [ 'truncate': True, 'minmax': True, 'collvalue': False, + 'show_icontext': False, ...
Fixed Issue <I>: added missing option 'show_icontext' for external shells
spyder-ide_spyder
train
py
8af82165ab5545c4e567ff5ea021af373de33731
diff --git a/src/frontend/org/voltdb/SnapshotSiteProcessor.java b/src/frontend/org/voltdb/SnapshotSiteProcessor.java index <HASH>..<HASH> 100644 --- a/src/frontend/org/voltdb/SnapshotSiteProcessor.java +++ b/src/frontend/org/voltdb/SnapshotSiteProcessor.java @@ -23,12 +23,9 @@ import java.util.*; import java.util.conc...
Fix the bug where all the snapshot site processors race to log their completion of the same snapshot, some might fail and never retry. So the snapshot is never marked completed.
VoltDB_voltdb
train
java
5babed7a7bdc47076f0418f1b27eeea26030eb1e
diff --git a/azurerm/internal/services/network/private_endpoint_resource.go b/azurerm/internal/services/network/private_endpoint_resource.go index <HASH>..<HASH> 100644 --- a/azurerm/internal/services/network/private_endpoint_resource.go +++ b/azurerm/internal/services/network/private_endpoint_resource.go @@ -740,7 +74...
r/private_endpoint: fixing a typo
terraform-providers_terraform-provider-azurerm
train
go
4caca972934a4da727626bb45658ee1207f1b957
diff --git a/lib/cql.rb b/lib/cql.rb index <HASH>..<HASH> 100644 --- a/lib/cql.rb +++ b/lib/cql.rb @@ -70,7 +70,7 @@ module CQL when :self val = element else - # todo - error message? + raise(ArgumentError, ":#{attribute} is not a valid attribute for selection.") en...
More bad input feedback. Added an error message for when an unknown special identifier is used in the 'select' clause.
enkessler_cql
train
rb,rb
3c9125b71f05fcb9872b21443ba6d12565cff585
diff --git a/atomic_reactor/util.py b/atomic_reactor/util.py index <HASH>..<HASH> 100644 --- a/atomic_reactor/util.py +++ b/atomic_reactor/util.py @@ -771,7 +771,6 @@ def get_config_from_registry(image, registry, digest, insecure=False, dockercfg_path=dockercfg_path, version=version) response.raise_for_st...
remove useless logging lines These had no %-placeholders, and in any case do not log interesting things.
projectatomic_atomic-reactor
train
py
a34918a1d8d3b8fc989f7a7f4d4b9dac0c0f6a56
diff --git a/parse.go b/parse.go index <HASH>..<HASH> 100644 --- a/parse.go +++ b/parse.go @@ -290,14 +290,14 @@ func (p *parser) gotAny(toks ...Token) bool { func (p *parser) wantQuote(lpos position, tok Token) { if !p.got(tok) { - p.posErr(lpos, `reached EOF without closing quote %s`, tok) + p.posErr(lpos, `re...
Don't hard-code EOF into error strings This also makes the errors potentially work with unwanted tokens other than EOF.
mvdan_sh
train
go
e27f824958850ad11d53b477db05b5d167c4c047
diff --git a/bin/s3rver.js b/bin/s3rver.js index <HASH>..<HASH> 100755 --- a/bin/s3rver.js +++ b/bin/s3rver.js @@ -40,7 +40,7 @@ try { } catch (e) { // eslint-disable-next-line no-console console.error( - "Directory does not exist. Please create it and then run the command again" + "Data directory does not...
CLI: Misc error and log message improvements
jamhall_s3rver
train
js
2d1f171ac685dcecad4ca8323451a6c2f6d7284c
diff --git a/immutable-history/src/HumanReadableChangeLog/ChangeLogListController.php b/immutable-history/src/HumanReadableChangeLog/ChangeLogListController.php index <HASH>..<HASH> 100644 --- a/immutable-history/src/HumanReadableChangeLog/ChangeLogListController.php +++ b/immutable-history/src/HumanReadableChangeLog/C...
Fix minor issues with change log report genreator.
reliv_Rcm
train
php