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
c332d0bafbf266e032490decbdecc8b5086c39db
diff --git a/ricecooker/utils/downloader.py b/ricecooker/utils/downloader.py index <HASH>..<HASH> 100644 --- a/ricecooker/utils/downloader.py +++ b/ricecooker/utils/downloader.py @@ -40,14 +40,18 @@ try: async def load_page(path): browser = await launch({'headless': True}) - page = await browser....
Make sure we always close the browser, even if an error occurs.
learningequality_ricecooker
train
py
37503b1dd7115c8cdf04523bbbb38738b4b38c40
diff --git a/src/View/Helper/TimeHelper.php b/src/View/Helper/TimeHelper.php index <HASH>..<HASH> 100644 --- a/src/View/Helper/TimeHelper.php +++ b/src/View/Helper/TimeHelper.php @@ -333,6 +333,10 @@ class TimeHelper extends Helper return $invalid; } + if ($date instanceof \DateTimeImmuta...
transform immutable datetime to mutable when using the time helper
cakephp_cakephp
train
php
af1ead70c15308c3980b6470852614da14467d2b
diff --git a/treeherder/client/thclient/client.py b/treeherder/client/thclient/client.py index <HASH>..<HASH> 100644 --- a/treeherder/client/thclient/client.py +++ b/treeherder/client/thclient/client.py @@ -620,6 +620,7 @@ class TreeherderClient(object): REPOSITORY_ENDPOINT = 'repository' JOBGROUP_ENDPOINT = ...
Bug <I> - Add a client method for getting list of machine platforms
mozilla_treeherder
train
py
7cd22d7f906c07d2d912cd98343a426e4cc89808
diff --git a/belpy/biopax/processor.py b/belpy/biopax/processor.py index <HASH>..<HASH> 100644 --- a/belpy/biopax/processor.py +++ b/belpy/biopax/processor.py @@ -332,6 +332,12 @@ class BiopaxProcessor(object): return names + def _get_uniprot_id(self, bp_entref): + xrefs = bp_entref.getXref().toA...
Querying UniProt ID in BioPAX processor
sorgerlab_indra
train
py
d9c9c6acd355547af2bc40c54afc60cb61658e63
diff --git a/lib/rango/boot.rb b/lib/rango/boot.rb index <HASH>..<HASH> 100644 --- a/lib/rango/boot.rb +++ b/lib/rango/boot.rb @@ -33,17 +33,13 @@ end # require gems etc. However if you really want to, you # can bypass loading of init.rb and ORM setup. # This is useful mostly for one file applications -unless Rango....
We don't load init.rb automatically, since init.rb itself should require rango and run the boot process
botanicus_rango
train
rb
0d468451e56a5ba66d0c720e49b7bb9350b9c328
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages setup( name = 'filetracker', - version = '2.1rc1', + version = '2.1', author = 'SIO2 Project Team', author_email = 'sio2@sio2project.mimuw.edu.pl'...
Bumped version to <I> (#<I>)
sio2project_filetracker
train
py
4225b4a872fb20aa7438bd1797f97d5b6bb69631
diff --git a/testsrc/org/mozilla/javascript/tests/Test262SuiteTest.java b/testsrc/org/mozilla/javascript/tests/Test262SuiteTest.java index <HASH>..<HASH> 100644 --- a/testsrc/org/mozilla/javascript/tests/Test262SuiteTest.java +++ b/testsrc/org/mozilla/javascript/tests/Test262SuiteTest.java @@ -51,7 +51,7 @@ public clas...
Add commandline option for running (ecma) tests with specific (test<I>).properties file
mozilla_rhino
train
java
08658c01779b63e313b10a23946b79294a8aef63
diff --git a/salt/modules/lxc.py b/salt/modules/lxc.py index <HASH>..<HASH> 100644 --- a/salt/modules/lxc.py +++ b/salt/modules/lxc.py @@ -2635,17 +2635,17 @@ def set_dns(name, dnsservers=None, searchdomains=None): def _need_install(name): ret = 0 - has_minion = retcode(name, "command -v salt-minion") + h...
Replace "command -v" with "which" The former does not work in lxc-attach, while the latter does.
saltstack_salt
train
py
6b12bca7c697d98f5fd45e3ee6baf86736b8f0b4
diff --git a/lib/nodejs/sclang.js b/lib/nodejs/sclang.js index <HASH>..<HASH> 100644 --- a/lib/nodejs/sclang.js +++ b/lib/nodejs/sclang.js @@ -72,6 +72,9 @@ SCLang.prototype.args = function() { o.push(this.options.executeFile); } o.push('-u', this.options.langPort); + if (this.options.config) { + o.push(...
sclang: pass lang config as -l if supplied
crucialfelix_supercolliderjs
train
js
c54b70abc566dd0fb40bf9f6120ef7a7e26f2d81
diff --git a/butterknife/src/main/java/butterknife/internal/DebouncingOnClickListener.java b/butterknife/src/main/java/butterknife/internal/DebouncingOnClickListener.java index <HASH>..<HASH> 100644 --- a/butterknife/src/main/java/butterknife/internal/DebouncingOnClickListener.java +++ b/butterknife/src/main/java/butte...
Clean up the docs to remove implementation details.
JakeWharton_butterknife
train
java
98b212cbfb2b58abeaa58609e53667058ba23429
diff --git a/src/_pytest/hookspec.py b/src/_pytest/hookspec.py index <HASH>..<HASH> 100644 --- a/src/_pytest/hookspec.py +++ b/src/_pytest/hookspec.py @@ -497,6 +497,13 @@ def pytest_assertion_pass(item, lineno, orig, expl): :param int lineno: line number of the assert statement :param string orig: string wit...
Added "experimental" note.
pytest-dev_pytest
train
py
cf870236a73220437f170733fd81c372e0d407ff
diff --git a/src/EventSubscriber/LocaleSubscriber.php b/src/EventSubscriber/LocaleSubscriber.php index <HASH>..<HASH> 100644 --- a/src/EventSubscriber/LocaleSubscriber.php +++ b/src/EventSubscriber/LocaleSubscriber.php @@ -14,7 +14,7 @@ declare(strict_types=1); namespace Sonata\TranslationBundle\EventSubscriber; us...
Replace deprecated GetResponseEvent with RequestEvent It was deprecated in symfony <I>
sonata-project_SonataTranslationBundle
train
php
613d2e8b52163c623a37990b7ead0fdd97ab30bb
diff --git a/ruby_event_store/spec/client_spec.rb b/ruby_event_store/spec/client_spec.rb index <HASH>..<HASH> 100644 --- a/ruby_event_store/spec/client_spec.rb +++ b/ruby_event_store/spec/client_spec.rb @@ -211,14 +211,14 @@ module RubyEventStore end specify 'timestamp can be overwritten by using with_metad...
Timestamp is a Time.
RailsEventStore_rails_event_store
train
rb
fdea57595de8e3d7b9e6c44b625fb7e3d6454ee8
diff --git a/deepcopy_test.go b/deepcopy_test.go index <HASH>..<HASH> 100644 --- a/deepcopy_test.go +++ b/deepcopy_test.go @@ -893,6 +893,21 @@ func TestTimeCopy(t *testing.T) { } } +func TestPointerToStruct(t *testing.T) { + type Foo struct { + Bar int + } + + f := &Foo{Bar: 42} + cpy := Copy(f) + if f == cpy { ...
add test of copy of pointer to struct
mohae_deepcopy
train
go
2a6f116a7afc44987441455c92d8123a6ec3d9b1
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -18,6 +18,9 @@ module.exports = async function faucetDispatch(referenceDir, config, exitOnError: !watch }); let browsers = browserslist.findConfig(referenceDir) || {}; + if(!browsers.pop) { + browsers =...
normalized Browserslist value turns out that a `browserslist` string within `package.json` does not result in an array ¯\_(ツ)_/¯ h/t @tloist
faucet-pipeline_faucet-pipeline-core
train
js
7fe482cf9a632fcaade2d5827ac9bfd658eb90a3
diff --git a/src/core/util/util.js b/src/core/util/util.js index <HASH>..<HASH> 100644 --- a/src/core/util/util.js +++ b/src/core/util/util.js @@ -113,12 +113,14 @@ angular.module('material.core') var scrollOffset = body.scrollTop + body.parentElement.scrollTop; var clientWidth = body.clientWidth;...
fix(disableScroll): fix disable scroll creating scrollbar when none existed
angular_material
train
js
6b9079dd0da13cead677f49e12175aa0f8fe6892
diff --git a/lib/rundock/cli.rb b/lib/rundock/cli.rb index <HASH>..<HASH> 100644 --- a/lib/rundock/cli.rb +++ b/lib/rundock/cli.rb @@ -34,7 +34,7 @@ module Rundock option :targetgroup, type: :string, aliases: ['-g'] option :tasks, type: :string, aliases: ['-t'] option :hooks, type: :string, aliases: ['-k...
Add run anyway option to alase
hiracy_rundock
train
rb
f13a7d8c9c5eb596e9349ba65d22a6e148ce9e8e
diff --git a/src/models/color.js b/src/models/color.js index <HASH>..<HASH> 100644 --- a/src/models/color.js +++ b/src/models/color.js @@ -76,7 +76,7 @@ const ColorModel = Hook.extend({ if (_this.palette && Object.keys(_this.palette._data).length !== 0) { const defaultPalette = _this.getDefaultPalette...
Attempt to fix the bug with color value in the last point when switching color to time
vizabi_vizabi
train
js
66e8546f7ffe6ae1a9d66dfbc9c9a05ecba2e00e
diff --git a/lib/mongo/grid/stream/write.rb b/lib/mongo/grid/stream/write.rb index <HASH>..<HASH> 100644 --- a/lib/mongo/grid/stream/write.rb +++ b/lib/mongo/grid/stream/write.rb @@ -82,9 +82,8 @@ module Mongo def write(io) ensure_open! @indexes ||= ensure_indexes! - data...
No need to read io stream before creating chunks in GridFS write
mongodb_mongo-ruby-driver
train
rb
0ce165be397f46fe24e26b646169d12dace64dac
diff --git a/lib/Boris/ShallowParser.php b/lib/Boris/ShallowParser.php index <HASH>..<HASH> 100644 --- a/lib/Boris/ShallowParser.php +++ b/lib/Boris/ShallowParser.php @@ -203,7 +203,7 @@ class ShallowParser { return substr($input, -1) == ';' && !preg_match( '/^(' . 'echo|print|exit|die|goto|global|in...
Add foreach to list of non-returning statements
borisrepl_boris
train
php
1aa857a9ea08eb18e957b166c6bb3c9defd7891a
diff --git a/bee.go b/bee.go index <HASH>..<HASH> 100644 --- a/bee.go +++ b/bee.go @@ -25,7 +25,7 @@ import ( "strings" ) -const version = "1.2.4" +const version = "1.3.0" type Command struct { // Run runs the command.
change the version to <I>
beego_bee
train
go
b577bebafe638a893bf3412c39ab391e5d964e5b
diff --git a/actionpack/lib/action_dispatch/journey/path/pattern.rb b/actionpack/lib/action_dispatch/journey/path/pattern.rb index <HASH>..<HASH> 100644 --- a/actionpack/lib/action_dispatch/journey/path/pattern.rb +++ b/actionpack/lib/action_dispatch/journey/path/pattern.rb @@ -165,6 +165,10 @@ module ActionDispatch ...
Use Path::Pattern#match? that uses Regexp#match? where MatchData is not in need
rails_rails
train
rb,rb
3e6e1035aa9305eb85072cee856ddafc664cc6f2
diff --git a/javascript/node/selenium-webdriver/firefox/index.js b/javascript/node/selenium-webdriver/firefox/index.js index <HASH>..<HASH> 100644 --- a/javascript/node/selenium-webdriver/firefox/index.js +++ b/javascript/node/selenium-webdriver/firefox/index.js @@ -337,13 +337,6 @@ class Driver extends webdriver.WebDr...
[js] Move Profile generation out of GeckoDriver path (#<I>)
SeleniumHQ_selenium
train
js
1aaace38a19c21ffbcfec8e46901ed77148d7814
diff --git a/packages/openneuro-server/libs/bidsId.js b/packages/openneuro-server/libs/bidsId.js index <HASH>..<HASH> 100644 --- a/packages/openneuro-server/libs/bidsId.js +++ b/packages/openneuro-server/libs/bidsId.js @@ -41,4 +41,28 @@ export default { } return id }, + + decode(id) { + let decodedId ...
Server: new decode function to split encoded id into datasetId and snapshotTag
OpenNeuroOrg_openneuro
train
js
df9d853368d4d01d51ff5a4854b9ad3bd7055568
diff --git a/core-bundle/src/Command/SymlinksCommand.php b/core-bundle/src/Command/SymlinksCommand.php index <HASH>..<HASH> 100644 --- a/core-bundle/src/Command/SymlinksCommand.php +++ b/core-bundle/src/Command/SymlinksCommand.php @@ -120,7 +120,7 @@ class SymlinksCommand extends LockedCommand implements ContainerAware...
[Core] Fix issues found by the PHP-CS-Fixer.
contao_contao
train
php
49c856ed3e5893d2c77603cb087649e1b368d600
diff --git a/lib/gemfury/command/app.rb b/lib/gemfury/command/app.rb index <HASH>..<HASH> 100644 --- a/lib/gemfury/command/app.rb +++ b/lib/gemfury/command/app.rb @@ -1,5 +1,6 @@ class Gemfury::Command::App < Thor include Gemfury::Command::Authorization + UserAgent = "Gemfury CLI #{Gemfury::VERSION}".freeze Pac...
Separate User Agent for CLI vs. API client
gemfury_gemfury
train
rb
67a15010b34b0679061423c7bf04fa5cd85350d8
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -15,12 +15,19 @@ const plugin = { (vnode.componentOptions && vnode.componentOptions.listeners) let opts = binding.value || {} - let modifiers = Object.keys(binding.modifiers || {}); + + ...
Add support to have an arrow modifier
KABBOUCHI_vue-tippy
train
js
b233006be0c6aa15a4d9c70d0a46b1c4a9ea5adc
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -230,7 +230,7 @@ router.set("/api/ruleset/enable/:hash", function(req, res, route){ }); router.set("/api/ruleset/install/:rid", function(req, res, route){ - pe.installRuleset(route.params.rid, function(err...
api ruleset install to use engine core
Picolab_pico-engine
train
js
ffab30d58dd54031b7c34d20faa2e02d284523fa
diff --git a/src/Translation/Translator.php b/src/Translation/Translator.php index <HASH>..<HASH> 100644 --- a/src/Translation/Translator.php +++ b/src/Translation/Translator.php @@ -116,9 +116,9 @@ class Translator string : The translated text. */ - public function trans(string $sText, array $placeholders = ...
Fixed error due to type string in function declaration.
jaxon-php_jaxon-core
train
php
42d49a598ff9f795b2c32f8b6ad2bd10f97cf1be
diff --git a/parsl/executors/mpix/zmq_pipes.py b/parsl/executors/mpix/zmq_pipes.py index <HASH>..<HASH> 100644 --- a/parsl/executors/mpix/zmq_pipes.py +++ b/parsl/executors/mpix/zmq_pipes.py @@ -3,7 +3,7 @@ import zmq import uuid import time - +import pickle class TasksOutgoing(object): """ Outgoing task que...
Adding methods to close sockets safely
Parsl_parsl
train
py
f5eaeb3e394baf5da690f4fbcc3eab89de20514f
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from distutils.core import setup setup( name='angr-utils', - version='0.2.1', + version='0.2.2', packages=['angrutils'], install_requires=[ 'pydot',
Bumped version to <I> because of package name conflict
axt_angr-utils
train
py
c7e006148357142072b42a8e88ccc329934b4326
diff --git a/webpack.config.build.js b/webpack.config.build.js index <HASH>..<HASH> 100644 --- a/webpack.config.build.js +++ b/webpack.config.build.js @@ -29,6 +29,7 @@ module.exports = function(theme, type = 'intact') { resolve: { alias: { './components/code': './empty', + ...
chore: fix build kpc.react.js with intact-vue
ksc-fe_kpc
train
js
0f38c03a889faa97151ea5f3601c151e28e44e26
diff --git a/src/Jobby/BackgroundJob.php b/src/Jobby/BackgroundJob.php index <HASH>..<HASH> 100644 --- a/src/Jobby/BackgroundJob.php +++ b/src/Jobby/BackgroundJob.php @@ -67,8 +67,10 @@ class BackgroundJob return; } + $lockAquired = false; try { $this->helper->aquire...
only release the lock if granted before
jobbyphp_jobby
train
php
9e7886c59b02e460657707ebc54aa0e63a7499a7
diff --git a/py/test/terminal/remote.py b/py/test/terminal/remote.py index <HASH>..<HASH> 100644 --- a/py/test/terminal/remote.py +++ b/py/test/terminal/remote.py @@ -101,18 +101,21 @@ class RemoteTerminalSession(object): from py.__.test.terminal.remote import slaverun_TerminalSession slaverun...
[svn r<I>] explicitely shutdown the gateway for the remote session after each run. --HG-- branch : trunk
vmalloc_dessert
train
py
72feef5194367297c39b4c66224f13fbbb4aac97
diff --git a/params.go b/params.go index <HASH>..<HASH> 100644 --- a/params.go +++ b/params.go @@ -42,7 +42,7 @@ var mainNetParams = Params{ } // regressionPowLimit is the highest proof of work value a bitcoin block can -// have. It is the value 2^256 - 1. +// have for the regression test network. It is the value...
Clarify reg test proof of work limit comment.
btcsuite_btcd
train
go
bd8818c9fe04ad769fb96e7c23f242cf50945090
diff --git a/astropy_helpers/commands/test.py b/astropy_helpers/commands/test.py index <HASH>..<HASH> 100644 --- a/astropy_helpers/commands/test.py +++ b/astropy_helpers/commands/test.py @@ -33,14 +33,18 @@ except Exception: class _AstropyTestMeta(type): """ - Causes an exception to be raised on ...
Should fix #<I>. Turns out that on Python 2, hasattr returns False upon _any_ exception, whereas on Python 3 it returns False only when AttributeError is raised, and allows any other exception to bubble up. By casting a wider net this seems to get the job done for both Python 2 and 3.
astropy_astropy-helpers
train
py
6ea6e458b72f5f505cd36053b68147cf4a932bf0
diff --git a/lib/boot.js b/lib/boot.js index <HASH>..<HASH> 100644 --- a/lib/boot.js +++ b/lib/boot.js @@ -9,8 +9,8 @@ const wrap = fn => function () { function deferAll(obj) { const o = {}; for (const k in obj) { - o[k] = function (...args) { - return this.then(() => obj[k](...args)); + o[k] = function () { +...
replace spread operator (v6 only)
lukeed_taskr
train
js
8beaebfb1e1facb4d05160e0a30b7eb6e47efbce
diff --git a/Builder/Generator.php b/Builder/Generator.php index <HASH>..<HASH> 100755 --- a/Builder/Generator.php +++ b/Builder/Generator.php @@ -111,7 +111,7 @@ class Generator extends TwigGeneratorGenerator $value = $configurations; } else { // A...
Fix case where fields is null in global and defined in a builder
symfony2admingenerator_AdmingeneratorGeneratorBundle
train
php
52678a284382d4da911c007fe8bc84b47057925f
diff --git a/src/java/org/apache/cassandra/db/compaction/SSTableSplitter.java b/src/java/org/apache/cassandra/db/compaction/SSTableSplitter.java index <HASH>..<HASH> 100644 --- a/src/java/org/apache/cassandra/db/compaction/SSTableSplitter.java +++ b/src/java/org/apache/cassandra/db/compaction/SSTableSplitter.java @@ -1...
don't declare throwing exceptions that aren't thrown
Stratio_stratio-cassandra
train
java
0cb72daac536727a0e411e3f2daa78d42c12baf6
diff --git a/plugin/webdav/plugin.go b/plugin/webdav/plugin.go index <HASH>..<HASH> 100644 --- a/plugin/webdav/plugin.go +++ b/plugin/webdav/plugin.go @@ -242,6 +242,16 @@ func (dav WebDAV) do(method, path string, in io.Reader) (*http.Response, error) } func (dav WebDAV) Put(path string, in io.Reader) (int64, erro...
webdav: Issue MKCOL for intervening directories Some WebDAV implementations (i.e. Apache) cannot accept a PUT request to a collection (directory) that does not already exist. Now, the webdav plugin can handle this by issuing MKCOL requests for all intervening collections (directories) before issuing the final PUT.
starkandwayne_shield
train
go
8e5f58853327a3fcf4c42da8219f536ac86e302d
diff --git a/src/League/Fractal/Scope.php b/src/League/Fractal/Scope.php index <HASH>..<HASH> 100644 --- a/src/League/Fractal/Scope.php +++ b/src/League/Fractal/Scope.php @@ -168,15 +168,15 @@ class Scope $currentPage = (int) $paginator->getCurrentPage(); $lastPage = (int) $paginator->getLastPage(); ...
Fuck everything about PHP <I>.
thephpleague_fractal
train
php
4205b58753712f9f89bd871815a5279c1880c852
diff --git a/_postinstall.js b/_postinstall.js index <HASH>..<HASH> 100755 --- a/_postinstall.js +++ b/_postinstall.js @@ -60,7 +60,7 @@ try { "https://www.bbcweb3hytmzhn5d532owbu6oqadra5z3ar726vq5kgwwn6aucdccrad.onion/russian" ), "", flags(), "", bold("Прекратите эту бессмысленную агрессию! Остановите Пут...
refactor: Fixed pronoun in manifest (#<I>)
medikoo_es5-ext
train
js
78a67da1b066e2096a0376692d56fc005dc1ca7e
diff --git a/src/middleware/BasicAuthentication.php b/src/middleware/BasicAuthentication.php index <HASH>..<HASH> 100644 --- a/src/middleware/BasicAuthentication.php +++ b/src/middleware/BasicAuthentication.php @@ -23,16 +23,18 @@ class BasicAuthentication // Get current route name $routeName = Request::r...
Changed logic for username/password restriction for named routes
DivineOmega_laravel-route-restrictor
train
php
27b3bd901f192d1b7b9c5868d5d2098973165174
diff --git a/lib/3scale/core/version.rb b/lib/3scale/core/version.rb index <HASH>..<HASH> 100644 --- a/lib/3scale/core/version.rb +++ b/lib/3scale/core/version.rb @@ -1,5 +1,5 @@ module ThreeScale module Core - VERSION = '1.4.1' + VERSION = '1.4.2' end end
core: bugfix release <I>
3scale_pisoni
train
rb
5e896927ccb0df351239d670f1ebf70d92c5c2a4
diff --git a/flask_appbuilder/static/appbuilder/js/ab.js b/flask_appbuilder/static/appbuilder/js/ab.js index <HASH>..<HASH> 100644 --- a/flask_appbuilder/static/appbuilder/js/ab.js +++ b/flask_appbuilder/static/appbuilder/js/ab.js @@ -51,9 +51,9 @@ $(function() { $('.appbuilder_date').datetimepicker({ pic...
fix(js): select2 readonly not working (#<I>)
dpgaspar_Flask-AppBuilder
train
js
cace968c5534e5e6d3e5f7312bee9c7eb6d0a190
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -54,12 +54,13 @@ classifiers = [ 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.4', 'Program...
Add <I> to allowed version
dwavesystems_dimod
train
py
728ae7651b9f7fa536290f78d39b786540a1f401
diff --git a/website/gatsby-node.js b/website/gatsby-node.js index <HASH>..<HASH> 100644 --- a/website/gatsby-node.js +++ b/website/gatsby-node.js @@ -177,7 +177,7 @@ exports.createPages = ({ graphql, actions }) => { id: page.id, slug: slug, ...
Fix universe page titles if no separate title is set
explosion_spaCy
train
js
3c9141978eb83cde6325748939447f4eed18f1de
diff --git a/src/plugin/pathify.js b/src/plugin/pathify.js index <HASH>..<HASH> 100644 --- a/src/plugin/pathify.js +++ b/src/plugin/pathify.js @@ -42,7 +42,9 @@ function plugin (store) { store.get = function (path, ...args) { const getter = makeGetter(store, path) if (typeof getter !== 'undefined') { - ...
Modified `make.getters()` to return getter functions as actual functions. Fixes #9
davestewart_vuex-pathify
train
js,js
cb848c8dd716b0243e41a94c9b52c803a3056eb4
diff --git a/activerecord/test/cases/migration_test.rb b/activerecord/test/cases/migration_test.rb index <HASH>..<HASH> 100644 --- a/activerecord/test/cases/migration_test.rb +++ b/activerecord/test/cases/migration_test.rb @@ -606,30 +606,26 @@ class MigrationTest < ActiveRecord::TestCase end def with_anoth...
don't sleep in tests we should be using a countdown latch instead of rolling our own busy-loop.
rails_rails
train
rb
511a043ea17c79d8c091a797c229a6eac3a88674
diff --git a/lib/components/Form/form.stories.js b/lib/components/Form/form.stories.js index <HASH>..<HASH> 100644 --- a/lib/components/Form/form.stories.js +++ b/lib/components/Form/form.stories.js @@ -16,8 +16,7 @@ stories.add('Input', () => ( <Input fieldName="Includes" fieldId="includes" - onChangeF...
Update form.stories.js
travel-cloud_react-component-library
train
js
9b64cb07c4c85ec2d50b88c2531d8daf09fe36a3
diff --git a/parsecsv.lib.php b/parsecsv.lib.php index <HASH>..<HASH> 100644 --- a/parsecsv.lib.php +++ b/parsecsv.lib.php @@ -135,6 +135,8 @@ class parseCSV { var $output_delimiter = ','; var $output_filename = 'data.csv'; + # keep raw file data in memory after successful parsing (useful for debugging) + var $k...
Fixed Issue #6 - Automatically clears $file_data property after successful parsing of input data. Set the $keep_file_data property to true to keep it around for debugging. git-svn-id: <URL>
parsecsv_parsecsv-for-php
train
php
830e1714632ad87a42008327badb9a481ff1c37e
diff --git a/branch.go b/branch.go index <HASH>..<HASH> 100644 --- a/branch.go +++ b/branch.go @@ -92,7 +92,7 @@ func (repo *Repository) NewBranchIterator(flags BranchType) (*BranchIterator, er func (repo *Repository) CreateBranch(branchName string, target *Commit, force bool, signature *Signature, msg string) (*Bra...
Free reference resource allocated by libgit2 during go garbage collecting
libgit2_git2go
train
go
8879c7feb0eafc612b89fe175da0516a228c6433
diff --git a/lib/fit-commit/runner.rb b/lib/fit-commit/runner.rb index <HASH>..<HASH> 100755 --- a/lib/fit-commit/runner.rb +++ b/lib/fit-commit/runner.rb @@ -77,7 +77,7 @@ module FitCommit end def message_text - File.open(message_path, "r").read + File.read(message_path) end def empty...
Don't leave open file descriptors around
m1foley_fit-commit
train
rb
e1c3c02ced4406364e91ea86d943552b3cfd01b2
diff --git a/snaptime/main.py b/snaptime/main.py index <HASH>..<HASH> 100644 --- a/snaptime/main.py +++ b/snaptime/main.py @@ -1,6 +1,7 @@ import re +from functools import reduce from datetime import datetime, timedelta from dateutil.relativedelta import relativedelta import pytz @@ -41,7 +42,7 @@ UNIT_LISTS = ...
make compatible with python 3
zartstrom_snaptime
train
py
c9e704863e96df237cf66d894a005189ba77b1f5
diff --git a/script/bump-version.py b/script/bump-version.py index <HASH>..<HASH> 100755 --- a/script/bump-version.py +++ b/script/bump-version.py @@ -88,6 +88,7 @@ def main(): suffix = '' if '-' in version: suffix = '-' + version.split('-')[1] + versions[3] = parse_version(version)[3] version = versio...
correctly get pre (#<I>)
electron_electron
train
py
88692e9e4b041be1aa99802d5d1d379070f6dfb0
diff --git a/salt/modules/virtualenv_mod.py b/salt/modules/virtualenv_mod.py index <HASH>..<HASH> 100644 --- a/salt/modules/virtualenv_mod.py +++ b/salt/modules/virtualenv_mod.py @@ -161,11 +161,13 @@ def create(path, ) else: cmd.append('--distribute') - if not os.a...
Only check for the execution bits if a value was actually passed.
saltstack_salt
train
py
ba2773bc3f0e0deebd2fdcf66588836b6f3a134d
diff --git a/lewis/adapters/stream.py b/lewis/adapters/stream.py index <HASH>..<HASH> 100644 --- a/lewis/adapters/stream.py +++ b/lewis/adapters/stream.py @@ -349,8 +349,15 @@ class Func: self.func = func + func_name = getattr(func, "__name__", repr(func)) + if isinstance(pattern, str): - ...
Make it clearer which commands are throwing regex errors
DMSC-Instrument-Data_lewis
train
py
592391e1befc43f738a116c226ee0c4878479978
diff --git a/bundles/as3/lib/sprout/tasks/asdoc_task.rb b/bundles/as3/lib/sprout/tasks/asdoc_task.rb index <HASH>..<HASH> 100644 --- a/bundles/as3/lib/sprout/tasks/asdoc_task.rb +++ b/bundles/as3/lib/sprout/tasks/asdoc_task.rb @@ -47,6 +47,7 @@ module Sprout # http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/c...
bundles/as3/lib/sprout/tasks/asdoc_task.rb: * Added attr_accessor for exclude_expressions. * Modified define to initialize exclude_expressions to an empty array. * Added filename_to_import_name method. * Added filelist_from_expressions method.
lukebayes_project-sprouts
train
rb
5cda8c524f22fefaf47a1f38cddfd806e235d437
diff --git a/src/Commands/CacheKeyPrefix.php b/src/Commands/CacheKeyPrefix.php index <HASH>..<HASH> 100644 --- a/src/Commands/CacheKeyPrefix.php +++ b/src/Commands/CacheKeyPrefix.php @@ -46,7 +46,7 @@ class CacheKeyPrefix extends Command * * @return null */ - public function fire() + public func...
Changes fire() method for handle() method
TypiCMS_Core
train
php
fab5a7519dc862a6304fa1c4a7750fc6184ba5bc
diff --git a/bin/svgicons2svgfont.js b/bin/svgicons2svgfont.js index <HASH>..<HASH> 100755 --- a/bin/svgicons2svgfont.js +++ b/bin/svgicons2svgfont.js @@ -11,6 +11,7 @@ const SVGIcons2SVGFontStream = require('../src/index.js'); const SVGIconsDirStream = require('../src/iconsdir.js'); program + .storeOptionsAsPrope...
Fix bug with commander The default value of _storeOptionsAsProperties in commander is fucking false, so arguments from cli will never fed into the program.
nfroidure_svgicons2svgfont
train
js
9a8ba0dc8136bb4a45109412e0ee4fa6da39ebce
diff --git a/src/Surfnet/StepupMiddlewareClient/Identity/Dto/IdentitySearchQuery.php b/src/Surfnet/StepupMiddlewareClient/Identity/Dto/IdentitySearchQuery.php index <HASH>..<HASH> 100644 --- a/src/Surfnet/StepupMiddlewareClient/Identity/Dto/IdentitySearchQuery.php +++ b/src/Surfnet/StepupMiddlewareClient/Identity/Dto/I...
Make institution query filter optional The institution has been made optional because an identity might not be RA(A) for the institution that is found in its SHO attribute. This was previously used to scope the search results. But since FGA is no longer required.
OpenConext_Stepup-Middleware-clientbundle
train
php
c397e0c8bc387a0db701f2aeb58479894c2aff24
diff --git a/course/yui/modchooser/modchooser.js b/course/yui/modchooser/modchooser.js index <HASH>..<HASH> 100644 --- a/course/yui/modchooser/modchooser.js +++ b/course/yui/modchooser/modchooser.js @@ -88,6 +88,11 @@ YUI.add('moodle-course-modchooser', function(Y) { Y.one(baseselector).all(CSS.SECTION).ea...
MDL-<I> Detect activity chooser in block_site_main_menu correctly
moodle_moodle
train
js
853766e9a541f56389d2109e484ea1147e4ca878
diff --git a/openquake/server/dbapi.py b/openquake/server/dbapi.py index <HASH>..<HASH> 100644 --- a/openquake/server/dbapi.py +++ b/openquake/server/dbapi.py @@ -266,6 +266,9 @@ def match(m_templ, *m_args): >>> match('SELECT * FROM job WHERE id=?x', 1) ('SELECT * FROM job WHERE id=?', (1,)) """ + # s...
Stripped SQL comments in the dbapi
gem_oq-engine
train
py
b93a57156c1f54b1a8c940db0a061e268339368d
diff --git a/src/ol/interaction/DragBox.js b/src/ol/interaction/DragBox.js index <HASH>..<HASH> 100644 --- a/src/ol/interaction/DragBox.js +++ b/src/ol/interaction/DragBox.js @@ -53,6 +53,13 @@ const DragBoxEventType = { * @api */ BOXEND: 'boxend', + + /** + * Triggered upon drag box canceled. + * @even...
Add a cancel event to the dragbox interaction
openlayers_openlayers
train
js
1a6bf48c273eeefcd13cb71d5bfe71eb41b55883
diff --git a/bugzilla/base.py b/bugzilla/base.py index <HASH>..<HASH> 100644 --- a/bugzilla/base.py +++ b/bugzilla/base.py @@ -486,7 +486,7 @@ class Bugzilla(object): If 'user' and 'password' are both set, we'll run login(). Otherwise you'll have to login() yourself before some methods will work. ...
base: Fix implied disconnect() on connect() call Apparently we can't check self._proxy like that, since it tries to look up data on the remote connection. Check self._transport instead, and add a test case. <URL>
python-bugzilla_python-bugzilla
train
py,py
6e328e67893eb46323ad06f0e92cb9536babbabc
diff --git a/conn.go b/conn.go index <HASH>..<HASH> 100644 --- a/conn.go +++ b/conn.go @@ -1,17 +1,24 @@ package pool -import "net" +import ( + "net" + "sync" +) // PoolConn is a wrapper around net.Conn to modify the the behavior of // net.Conn's Close() method. type PoolConn struct { net.Conn + mu sync...
Add locks around Close() and MarkUnusable(). (#<I>) * Add locks. * Wrong type of unlock on Close() * Put locks on private variable called mu.
fatih_pool
train
go
2ec0141eb5f28502240f7bf4a089ad86ec78b781
diff --git a/src/plugins/Entity/Entity.Geometry.js b/src/plugins/Entity/Entity.Geometry.js index <HASH>..<HASH> 100644 --- a/src/plugins/Entity/Entity.Geometry.js +++ b/src/plugins/Entity/Entity.Geometry.js @@ -1120,7 +1120,7 @@ Entity.Geometry = meta.Class.extend /** - * Add entity as child. + * Attach entity ...
Docs: Updated info about childs.
tenjou_meta2d
train
js
7ace5b1450df719b862df0b03cecefface7793d8
diff --git a/sdk/core/azure-core/azure/core/pipeline/policies/_utils.py b/sdk/core/azure-core/azure/core/pipeline/policies/_utils.py index <HASH>..<HASH> 100644 --- a/sdk/core/azure-core/azure/core/pipeline/policies/_utils.py +++ b/sdk/core/azure-core/azure/core/pipeline/policies/_utils.py @@ -25,7 +25,8 @@ # --------...
undo remove requests (#<I>)
Azure_azure-sdk-for-python
train
py
529d7525e347ea1673704a7856e55a25609ed465
diff --git a/Resources/public/js/FpJsFormValidator.js b/Resources/public/js/FpJsFormValidator.js index <HASH>..<HASH> 100644 --- a/Resources/public/js/FpJsFormValidator.js +++ b/Resources/public/js/FpJsFormValidator.js @@ -233,7 +233,7 @@ function FpJsCustomizeMethods() { if (data['entity'] && data['en...
unique-constraints Only run unique constraint checks on the constraint fields
formapro_JsFormValidatorBundle
train
js
c16e18735732b0a9c9812a3d43b5e9d035408ef1
diff --git a/lib/spidr/agent.rb b/lib/spidr/agent.rb index <HASH>..<HASH> 100644 --- a/lib/spidr/agent.rb +++ b/lib/spidr/agent.rb @@ -716,8 +716,8 @@ module Spidr # The URL to add to the failures list. # def failed(url) - @every_failed_url_blocks.each { |block| block.call(url) } @failures ...
Added the failing url to @failures before calling the every_failed_url blocks.
postmodern_spidr
train
rb
4e62cbe7546409b48d94d5c615da36c915c159aa
diff --git a/lib/dradis/plugins/projects/export/v1/template.rb b/lib/dradis/plugins/projects/export/v1/template.rb index <HASH>..<HASH> 100644 --- a/lib/dradis/plugins/projects/export/v1/template.rb +++ b/lib/dradis/plugins/projects/export/v1/template.rb @@ -33,6 +33,7 @@ module Dradis::Plugins::Projects::Export::V1 ...
add comments to no-op methods
dradis_dradis-projects
train
rb,rb
5e0d604809346a2dcc69a1b764db13940f21c25c
diff --git a/artist/plot.py b/artist/plot.py index <HASH>..<HASH> 100644 --- a/artist/plot.py +++ b/artist/plot.py @@ -764,7 +764,7 @@ class PolarPlot(Plot): self.plot(x, y, mark=None, linestyle=linestyle) - def set_ylimits(self, min=None, max=None): - """Do not allow setting y limits, it messes ...
Oops, meant to disable setting of x limits.
davidfokkema_artist
train
py
5505bbad902585d888e3ae6d5cc8ce9fcd00080d
diff --git a/library/WT/GedcomRecord.php b/library/WT/GedcomRecord.php index <HASH>..<HASH> 100644 --- a/library/WT/GedcomRecord.php +++ b/library/WT/GedcomRecord.php @@ -227,7 +227,7 @@ class WT_GedcomRecord { * check if this object is equal to the given object * @param GedcomRecord $obj */ - public function equ...
Remove some old PHP4 code. PHP5 passes objects by reference automatically
fisharebest_webtrees
train
php
d44206bafa6d8e9027efc33e41ca2b1b3f2efc68
diff --git a/lazyproxy.py b/lazyproxy.py index <HASH>..<HASH> 100644 --- a/lazyproxy.py +++ b/lazyproxy.py @@ -40,7 +40,7 @@ else: class LazyProxy(object): """Proxy for a lazily-obtained object, that is cached on first use""" - __slots__ = ("__subject__", "__callback__", "__cache__") + __slots__ = ("__cal...
Don't need subject in __slots__ Fix __subject__ property
gazpachoking_jsonref
train
py
2122082209ac8acfb20107e575139a77412f42db
diff --git a/lib/AssetGraph.js b/lib/AssetGraph.js index <HASH>..<HASH> 100644 --- a/lib/AssetGraph.js +++ b/lib/AssetGraph.js @@ -646,23 +646,6 @@ _.extend(AssetGraph.prototype, { })); }, - createSubgraph: function (startAsset, relationQuery) { - var that = this, - subgraph = new A...
Removed AssetGraph.createSubgraph (not in use).
assetgraph_assetgraph
train
js
fdac9132d378c4478ee7b6c3b5289e9197e25e06
diff --git a/bg/graphviz.py b/bg/graphviz.py index <HASH>..<HASH> 100644 --- a/bg/graphviz.py +++ b/bg/graphviz.py @@ -570,11 +570,15 @@ class BGTreeVertexProcessor(VertexProcessor): if self.text_processor is None: self.text_processor = BGTreeVertexTextProcessor(color_source=color_source) - d...
fixed BGTree dot export. Now leaves correctly connect to the rest of thre tree
aganezov_bg
train
py
17c2ffe379ce479758832b35270c51e51b690eaa
diff --git a/src/TechDivision/ApplicationServer/AbstractWorker.php b/src/TechDivision/ApplicationServer/AbstractWorker.php index <HASH>..<HASH> 100644 --- a/src/TechDivision/ApplicationServer/AbstractWorker.php +++ b/src/TechDivision/ApplicationServer/AbstractWorker.php @@ -80,7 +80,7 @@ abstract class AbstractWorker e...
Switch worker load from <I> to <I> requests
appserver-io_appserver
train
php
36abb33d616f55819f70259532281d84c9b467c5
diff --git a/ca/django_ca/models.py b/ca/django_ca/models.py index <HASH>..<HASH> 100644 --- a/ca/django_ca/models.py +++ b/ca/django_ca/models.py @@ -13,6 +13,8 @@ # You should have received a copy of the GNU General Public License along with django-ca. If not, # see <http://www.gnu.org/licenses/>. +import re + ...
add a from_addr method to parse address strings
mathiasertl_django-ca
train
py
f14629ba634ee5fbb75d589f25374bb37bb41b6b
diff --git a/src/server/pfs/server/local_block_api_server.go b/src/server/pfs/server/local_block_api_server.go index <HASH>..<HASH> 100644 --- a/src/server/pfs/server/local_block_api_server.go +++ b/src/server/pfs/server/local_block_api_server.go @@ -181,6 +181,12 @@ func (s *localBlockAPIServer) ListObjectsTaggedWithP...
Add no-op DeleteObjects to local server
pachyderm_pachyderm
train
go
9982c9c4ac993706ab27049541a676b2fa449ee7
diff --git a/packages/ember-glimmer/tests/integration/content-test.js b/packages/ember-glimmer/tests/integration/content-test.js index <HASH>..<HASH> 100644 --- a/packages/ember-glimmer/tests/integration/content-test.js +++ b/packages/ember-glimmer/tests/integration/content-test.js @@ -988,7 +988,7 @@ moduleFor('Inline...
[Glimmer2] Unskip html-safe test
emberjs_ember.js
train
js
12cfd94ec5c980c3b30b59cf5c82c81a8e64f605
diff --git a/src/phpDocumentor/Plugin/Core/Transformer/Writer/Xml.php b/src/phpDocumentor/Plugin/Core/Transformer/Writer/Xml.php index <HASH>..<HASH> 100644 --- a/src/phpDocumentor/Plugin/Core/Transformer/Writer/Xml.php +++ b/src/phpDocumentor/Plugin/Core/Transformer/Writer/Xml.php @@ -212,6 +212,10 @@ class Xml extend...
Add inherited_from element on inherited methods
phpDocumentor_phpDocumentor2
train
php
5d2686af53c644e98c2d28de954d2dc2ced9287d
diff --git a/cmd2/argparse_completer.py b/cmd2/argparse_completer.py index <HASH>..<HASH> 100644 --- a/cmd2/argparse_completer.py +++ b/cmd2/argparse_completer.py @@ -10,6 +10,7 @@ import argparse import inspect import numbers import shutil +import textwrap from collections import deque from typing import Dict, Li...
Improved displaying multiline CompletionErrors
python-cmd2_cmd2
train
py
8b69cce4d0867cc6161c3ca628edda2038434f43
diff --git a/fake_xml_http_request.js b/fake_xml_http_request.js index <HASH>..<HASH> 100644 --- a/fake_xml_http_request.js +++ b/fake_xml_http_request.js @@ -1,4 +1,4 @@ -(function(window, undefined){ +(function(undefined){ /** * Minimal Event interface implementation * @@ -468,6 +468,13 @@ function verifyRespons...
Add more robust checks for CommonJS, AMD, and browser environments.
pretenderjs_FakeXMLHttpRequest
train
js
0e4b800825eec3de1903ebe6f518f43f6dc758ab
diff --git a/drools-test-coverage/test-suite/src/test/java/org/drools/testcoverage/common/util/KieUtil.java b/drools-test-coverage/test-suite/src/test/java/org/drools/testcoverage/common/util/KieUtil.java index <HASH>..<HASH> 100644 --- a/drools-test-coverage/test-suite/src/test/java/org/drools/testcoverage/common/util...
use correct kieModuleModel in test suite while running executable model tests
kiegroup_drools
train
java
ddb9d1a791f71642906b9c1a6a0f4490e568b001
diff --git a/lib/instance/cook/executable_sequence.rb b/lib/instance/cook/executable_sequence.rb index <HASH>..<HASH> 100644 --- a/lib/instance/cook/executable_sequence.rb +++ b/lib/instance/cook/executable_sequence.rb @@ -316,14 +316,15 @@ module RightScale cookbook_sequence.paths.reverse.each {|path| ...
only add repository cookbook paths for cookbooks that have been downloaded.
rightscale_right_link
train
rb
74b05ef53085b0ec6604b09f07a3536edcf115c5
diff --git a/salt/modules/consul.py b/salt/modules/consul.py index <HASH>..<HASH> 100644 --- a/salt/modules/consul.py +++ b/salt/modules/consul.py @@ -2164,7 +2164,7 @@ def acl_info(consul_url=None, **kwargs): function = 'acl/info/{0}'.format(kwargs['id']) ret = _query(consul_url=consul_url, ...
fix HTTP method for acl_info
saltstack_salt
train
py
9b539ab73ff28107ec72d756287e89dbca86f422
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/commandRegistry.js b/bundles/org.eclipse.orion.client.ui/web/orion/commandRegistry.js index <HASH>..<HASH> 100644 --- a/bundles/org.eclipse.orion.client.ui/web/orion/commandRegistry.js +++ b/bundles/org.eclipse.orion.client.ui/web/orion/commandRegistry.js @@ -1...
command cannot pretend default action if there is no dropdown
eclipse_orion.client
train
js
6f14e098132ffc08d5c83154c537ff90627c24e7
diff --git a/luigi/file.py b/luigi/file.py index <HASH>..<HASH> 100644 --- a/luigi/file.py +++ b/luigi/file.py @@ -56,7 +56,7 @@ class LocalFileSystem(FileSystem): def exists(self, path): return os.path.exists(path) - def mkdir(self, path): + def mkdir(self, path, parents=True, raise_if_exists=Fal...
Preserve the overrided method's signature. FileSystem (parent class) had mkdir defined as: def mkdir(self, path, parents=True, raise_if_exists=False): ...
spotify_luigi
train
py
57ba4a84cd03ddb6c771ac19613c38cdf740d4a2
diff --git a/src/HttpAnswer.js b/src/HttpAnswer.js index <HASH>..<HASH> 100644 --- a/src/HttpAnswer.js +++ b/src/HttpAnswer.js @@ -138,7 +138,9 @@ HttpAnswer.prototype.end = function(){ } if( ! this.answered() ){ - this._native.writeHead(this._statusCode, this._headers); + //t...
fix: don't send the headers in advance. as many libraries send the headers when they start sending the stream.
node-muneem_muneem
train
js
0545f9d2416bb9b848ae59e9429cbf19254fd818
diff --git a/src/extensions/default/CodeFolding/foldhelpers/foldgutter.js b/src/extensions/default/CodeFolding/foldhelpers/foldgutter.js index <HASH>..<HASH> 100644 --- a/src/extensions/default/CodeFolding/foldhelpers/foldgutter.js +++ b/src/extensions/default/CodeFolding/foldhelpers/foldgutter.js @@ -342,11 +342,11 @@...
fixed refresh rendering bug with selection based fold
adobe_brackets
train
js
16a5e2b723350762f890eb9c422db890493f5d88
diff --git a/cogroo-common/src/main/java/br/ccsl/cogroo/tools/featurizer/FeaturizerModel.java b/cogroo-common/src/main/java/br/ccsl/cogroo/tools/featurizer/FeaturizerModel.java index <HASH>..<HASH> 100644 --- a/cogroo-common/src/main/java/br/ccsl/cogroo/tools/featurizer/FeaturizerModel.java +++ b/cogroo-common/src/main...
Changed to conform with model subclass requirements
cogroo_cogroo4
train
java
464d6a4526a6a2093b448808b95843f56c6a0098
diff --git a/lib/authem/user.rb b/lib/authem/user.rb index <HASH>..<HASH> 100644 --- a/lib/authem/user.rb +++ b/lib/authem/user.rb @@ -8,7 +8,10 @@ module Authem has_many :authem_sessions, as: :subject, class_name: "Authem::Session" has_secure_password - validates :email, uniqueness: true, format: ...
A little more sane validation for blank email
paulelliott_authem
train
rb
720e0578269862b63a33a4acf1e6d67af5548244
diff --git a/tests/SyncIndex.php b/tests/SyncIndex.php index <HASH>..<HASH> 100644 --- a/tests/SyncIndex.php +++ b/tests/SyncIndex.php @@ -20,7 +20,7 @@ class SyncIndex { $response = call_user_func_array(array($this->realIndex, $name), $arguments); - if (isset($response['taskID'])) { + if ...
syncIndex not always get an api response
algolia_algoliasearch-client-php
train
php
d73950249fc224e85c554298fbd3ef1068a7eb5c
diff --git a/themes/theme-ios11/pages/Product/components/AddToCartBar/style.js b/themes/theme-ios11/pages/Product/components/AddToCartBar/style.js index <HASH>..<HASH> 100644 --- a/themes/theme-ios11/pages/Product/components/AddToCartBar/style.js +++ b/themes/theme-ios11/pages/Product/components/AddToCartBar/style.js @...
PWA-<I> Corrected bug where SnackBar messages were above AddToCartBar
shopgate_pwa
train
js
7947f8de01e0ad2acb782a2f61813364ddd0c019
diff --git a/lib/discordrb/bot.rb b/lib/discordrb/bot.rb index <HASH>..<HASH> 100644 --- a/lib/discordrb/bot.rb +++ b/lib/discordrb/bot.rb @@ -54,10 +54,23 @@ module Discordrb data = packet['d'] case packet['t'] when "READY" - initialize_bot(data) - # TODO + # Handle heartbeats...
Add logic to handle the READY packet
meew0_discordrb
train
rb
91b3f6337add88cc03947beacc33233aaa81cbc3
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -6,10 +6,15 @@ var path = require("path"); module.exports = function (content, sourceMap) { this.cacheable && this.cacheable(); var resourceDir = path.dirname(this.resourcePath); - var files = glob.sync(content.trim(),...
feat: warn if there are no matches for the glob
joscha_less-vars-loader
train
js
dd5daaf3588d2315fc552cf57e70fade05b4397f
diff --git a/test/open.js b/test/open.js index <HASH>..<HASH> 100644 --- a/test/open.js +++ b/test/open.js @@ -21,14 +21,19 @@ test('open', t => { }) t.test('> autoconfigure (using invalid password)', t => { - t.plan(2) + t.plan(3) dc.on('DC_EVENT_INFO', info => { if (info.startsWi...
Make sure the network error has correct syntax (i.e. NOT ssl error)
deltachat_deltachat-node
train
js
abc4ce92980829cbfb39e9ca5b5c899f372e8c88
diff --git a/src/uiSelectController.js b/src/uiSelectController.js index <HASH>..<HASH> 100644 --- a/src/uiSelectController.js +++ b/src/uiSelectController.js @@ -169,7 +169,6 @@ uis.controller('uiSelectCtrl', } ctrl.refreshItems = function (data){ - $scope.calculateDropdownPos(); data = data ||...
fix(choices): avoid to recalculate position when set 'down'
angular-ui_ui-select
train
js
1b202b86ded13b9c33220fbab45e8b6ce69a5822
diff --git a/test/unit/auth-handlers.test.js b/test/unit/auth-handlers.test.js index <HASH>..<HASH> 100644 --- a/test/unit/auth-handlers.test.js +++ b/test/unit/auth-handlers.test.js @@ -1118,6 +1118,36 @@ describe('Auth Handler:', function () { expect(_.get(request, 'auth.hawk.timestamp')).to.not.be.ok; ...
Added test with formdata body in Hawk auth
postmanlabs_postman-runtime
train
js
54db41f5a49087d1f332a57cbf9bcc1a844e3289
diff --git a/polyfills/Event/polyfill.js b/polyfills/Event/polyfill.js index <HASH>..<HASH> 100644 --- a/polyfills/Event/polyfill.js +++ b/polyfills/Event/polyfill.js @@ -17,6 +17,11 @@ textinput: 1 }; + // This polyfill depends on availability of `document` so will not run in a worker + // However, we asssume t...
Prevent Event being applied in web workers, fixes #<I> (#<I>) * Prevent Event being applied in web workers * Avoid ReferenceErrors
Financial-Times_polyfill-service
train
js