diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -14,9 +14,11 @@ const path = require('path')
const eslint = require('eslint')
const categories = require('./lib/categories')
+const errorCategories = ['base', 'essential']
+
function formatRules (rules) {
const obj = rules.reduce((setting, rule) => {
- setting[rule.ruleId] = 'error'
+ setting[rule.ruleId] = errorCat... | chore: Report errors only for base and essential rules | null | vuejs/eslint-plugin-vue | MIT License | JavaScript |
@@ -827,6 +827,8 @@ public class TaskServiceTest {
Map<String, Object> returnedVariables = taskService.completeWithVariablesInReturn(taskId, variables);
// expect empty Map for standalone tasks
assertEquals(0, returnedVariables.size());
+
+ taskService.deleteTask(taskId, true);
}
@Deployment(resources = { "org/camunda/... | chore(test): cleanup after test | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -120,13 +120,8 @@ PROJECT_NAME='Adyen'
DESTINATION='platform=iOS Simulator,name=iPhone 13 Pro Max'
# PIF SMP fix
-
-MAX_ATTEMP=3
-ATTEMPT=0
-while [ -z $SUCCESS ] && [ "$ATTEMPT" -le "$MAX_ATTEMP" ]; do
- xcodebuild clean -scheme $PROJECT_NAME -destination $DESTINATION | grep -q "CLEAN SUCCEEDED" && SUCCESS=true
- A... | chore: apply "clean" solution | null | adyen/adyen-ios | MIT License | Shell |
@@ -24,7 +24,7 @@ export const STACKBLITZ_DEPS: Record<string, string> = {
'@taiga-ui/addon-editor': '*',
'@tinkoff/ng-dompurify': '*',
'@tinkoff/ng-polymorpheus': '3.x.x',
- '@ng-web-apis/common': '*',
+ '@ng-web-apis/common': '1.x.x',
'@tinkoff/ng-event-plugins': '*',
'@ng-web-apis/intersection-observer': '*',
'@ng-w... | chore: fix ng-web-apis/common version for stackblitz | null | tinkoffcreditsystems/taiga-ui | Apache License 2.0 | TypeScript |
+use std::env;
+
fn main() {
let crate_dir = env!("CARGO_MANIFEST_DIR");
let crate_name = env!("CARGO_PKG_NAME");
+ let out_dir = env::var("OUT_DIR").unwrap();
let base_name = crate_name.find("-c").map(|pos| &crate_name[0..pos]).unwrap_or(&crate_name[..]);
let source_name = base_name.replace("-", "_");
cbindgen::Builde... | chore: get cbindgen to write to the output dir | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -1093,7 +1093,7 @@ mod tests {
}
// FIXME: the tests pass, if run one by one, but run all together locally,
-// as well as CI fails...
+// as well as CI fails... see matrix-org/matrix-rust-sdk#661
// #[cfg(test)]
// mod encrypted_tests {
// use super::IndexeddbStore;
| chore: adding issue tracker link to fixme | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -58,7 +58,7 @@ extension AuthorizationProviderAdapter {
self.fetchSignedInSession(withError: AuthErrorHelper.toAuthError(error!),
completionHandler)
}
- } else if (error as NSError?)?.userInfo["__type"] as? String == "UserNotFoundException" {
+ } else if self.isErrorCausedByUserNotFound(error) {
self.awsMobileClient... | chore(auth): improved error handling for userNotFound error when fetching a signed in session | null | aws-amplify/amplify-ios | Apache License 2.0 | Swift |
@@ -24,6 +24,11 @@ const grid = {
containLabel: true,
}
+const max = (statisticChartData: State.StatisticDifficultyUncleRate[]) => {
+ const array = statisticChartData.flatMap(data => Number(data.uncleRate) * 100)
+ return Math.max(5, Math.ceil(Math.max(...array)))
+}
+
const getOption = (statisticChartData: State.Stat... | chore: update uncle rate max scope | null | nervosnetwork/ckb-explorer-frontend | MIT License | TypeScript |
#!/bin/bash
WORKING_DIR=`pwd`
-while getopts d: flag
-do
- case "${flag}" in
- d) dev_env=1;;
- esac
-done
-
cd ../
# Compute the project version.
PROJECT_VERSION=$(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout)
| chore: remove unnecessary optarg handling in `generate-library-list.sh` | null | googlecloudplatform/spring-cloud-gcp | Apache License 2.0 | Shell |
@@ -36,7 +36,7 @@ type HTree struct {
}
type InclusionProof struct {
- Index int
+ Leaf int
Width int
Terms [][sha256.Size]byte
}
@@ -132,7 +132,7 @@ func (t *HTree) InclusionProof(i int) (proof *InclusionProof, err error) {
var r int
proof = &InclusionProof{
- Index: i,
+ Leaf: i,
Width: t.width,
}
@@ -173,7 +173,7 @@... | chore(embedded/htree): internal linear proof renaming | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -31,7 +31,8 @@ class DoubleTapAnimation {
func animateBackward() {
guard let playback = core?.activePlayback,
- playback.position - 10 > 0.0, let view = core?.view else { return }
+ playback.position - 10 > 0.0,
+ let view = core?.view else { return }
animate(leftBubbleView, parentView: view, widthConstraint: leftBu... | chore: adjust code formatting | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -94,7 +94,7 @@ elif [ "$uname_machine" = "armv6" ] || [ "$uname_machine" = "armv6l" ]; then
elif [ "$uname_machine" = "armv7" ] || [ "$uname_machine" = "armv7l" ]; then
arch="armv7"
# armv8?
-elif [ "$uname_machine" = "arm64" ]; then
+elif [ "$uname_machine" = "arm64" ] || [ "$uname_machine" = "aarch64" ]; then
arch... | chore: updated install.sh to work with M1 aarch64 | null | dopplerhq/cli | Apache License 2.0 | Shell |
@@ -26,7 +26,7 @@ func (e *Engine) NotifyAcks(ids []int64) {
// waitAck blocks until acknowledgement on message id is received.
func (e *Engine) waitAck(ctx context.Context, id int64) error {
log := e.log.With(zap.Int64("msg_id", id))
- log.Debug("Wait for Ack")
+ log.Debug("Waiting for Ack")
done := make(chan struct{}... | chore(rpc): fix log message | null | gotd/td | MIT License | Go |
@@ -72,6 +72,45 @@ import com.vaadin.flow.dom.Element;
* for the injected element from the server side though. E.g. you may add a
* child or set attribute/property value. Such children will be available in the
* element's hierarchy in the same way as for a regular element.
+ * <p>
+ * An attribute/property value set us... | chore: clarify attribute/property value behavior in templates | null | vaadin/flow | Apache License 2.0 | Java |
@@ -114,10 +114,10 @@ ndcs_with_6_subscriber_digits = %w(3012 3022 3412 3435 3439 3452 3456 3462 3463
8622 8634 8635 8636 8639 8652 8662 8672 8712 8722 8732 8772 8782 8793
)
-ndcs_with_7_subscriber_digits = %w(342 343 347 351 365 383 391 473 495 496 498 499 701 702 727 777 812 818 831 843 844
- 846 861 863 869 900 901 ... | chore(codes): add new codes | null | floere/phony | MIT License | Ruby |
@@ -79,7 +79,10 @@ public void publishData() {
try {
this.writeApi.writePoint(point);
} catch (InfluxException exception) {
- LOGGER.warning("Unable to write point into influx db, possibly the config is invalid?", exception);
+ LOGGER.warning(
+ "Unable to write point into influx db, possibly the config is invalid? %s"... | chore: don't spam console with influx write exception stacktrace | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
+// Copyright 2022 Datafuse Labs.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agree... | chore(query): add licence | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -640,6 +640,9 @@ impl MetaNode {
Ok(r) => {
let reply = r.into_inner();
+ if reply.error.is_empty() {
+ // No error. It does not have to decode an error from an old databend-meta
+
let res: Result<ForwardResponse, MetaAPIError> = reply.into();
match res {
Ok(v) => {
@@ -654,6 +657,14 @@ impl MetaNode {
);
}
}
+ } el... | chore(meta): avoid panic by treating error returned from an older version as string | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -26,11 +26,11 @@ use OwenIt\Auditing\Exceptions\AuditingException;
trait Auditable
{
/**
- * Auditable attribute exclusions.
+ * Auditable attributes excluded from the Audit.
*
* @var array
*/
- protected $auditableExclusions = [];
+ protected $excludedAttributes = [];
/**
* Audit event name.
@@ -63,43 +63,43 @@ tra... | chore(Auditable): rename updateAuditExclusions() to resolveAuditExclusions() | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -28,7 +28,7 @@ spec:
user: {{ .kube_user.name }}
token: {{ .kube_user.token }}
apiServer: https://kubernetes.default.svc.cluster.local:443
- ttyImage: ghcr.io/cuisongliu/go-docker-dev:1.18.4
+ ttyImage: ghcr.io/cuisongliu/go-docker-dev:1.19.4
replicas: 1
keepalived: 4h
`;
| chore: Update terminal image tag | null | fanux/sealos | Apache License 2.0 | TypeScript |
@@ -39,3 +39,29 @@ export function createSpecFunction<TTestContext extends TestExecutionContext<any
export class ToNumberValueConverter {
public fromView(value: string): number { return Number(value) || void 0; }
}
+
+export class TickLogger {
+ public ticks: number = 0;
+ private running: boolean = false;
+ private cb... | chore(test): add TickLogger snippet | null | aurelia/aurelia | MIT License | TypeScript |
@@ -7,10 +7,7 @@ const config = {
version: pkg.version,
optionGroups: {
...Simon.config.optionGroups,
- style: [
- ...Simon.config.optionGroups.style,
- 'contour',
- ],
+ style: [...Simon.config.optionGroups.style, 'contour'],
advanced: [
...Simon.config.optionGroups.advanced,
'bustDartAngle',
@@ -18,12 +15,7 @@ const ... | chore(simone): Prettier run | null | freesewing/freesewing | MIT License | JavaScript |
use std::collections::VecDeque;
use std::convert::TryInto;
-use std::fmt::{Display, Formatter};
use std::ops::Deref;
use std::path::PathBuf;
use std::sync::{Arc, Mutex};
@@ -18,35 +17,27 @@ use serde::{Deserialize, Serialize};
use super::RateLimiterConfig;
use crate::Error as VmmError;
-type Result<T> = result::Result<... | chore: add thiserror::Error for DriveError | null | firecracker-microvm/firecracker | Apache License 2.0 | Rust |
@@ -418,7 +418,7 @@ public abstract class NodeUpdater implements FallibleCommand {
defaults.put("fork-ts-checker-webpack-plugin", "6.2.1");
defaults.put("webpack", "4.46.0");
defaults.put("webpack-cli", "4.10.0");
- defaults.put("webpack-dev-server", "4.9.2");
+ defaults.put("webpack-dev-server", "4.10.0");
defaults.pu... | chore: upgrade to webpack-dev-server 4.10.0 | null | vaadin/flow | Apache License 2.0 | Java |
@@ -149,13 +149,13 @@ pub unsafe fn v8_init() {
let platform = v8::new_default_platform().unwrap();
v8::V8::initialize_platform(platform);
v8::V8::initialize();
+ let argv = vec![
+ "".to_string(),
+ "--wasm-test-streaming".to_string(),
// TODO(ry) This makes WASM compile synchronously. Eventually we should
// remove t... | chore: Move comment to correct place | null | denoland/deno | MIT License | Rust |
@@ -10,7 +10,7 @@ import (
)
var (
- version = "1.4.2" // manually set semantic version number
+ version = "1.4.3" // manually set semantic version number
commitHash string // automatically set git commit hash
commitTime string // automatically set git commit time
| chore: bump v1.4.3 | null | ethersphere/bee | BSD 3-Clause New or Revised License | Go |
@@ -3,14 +3,14 @@ import {TsFileParser} from './ts-file.parser';
export class TsFileComponentParser extends TsFileParser {
set selector(newSelector: string) {
this.rawFileContent = this.rawFileContent.replace(
- /(selector:\s['"])(.*)(['"])/gi,
+ /(selector:\s['"`])(.*)(['"`])/gi,
`$1${newSelector}$3`,
);
}
set templat... | chore(demo): `stackblitz` add `backtick` support | null | tinkoffcreditsystems/taiga-ui | Apache License 2.0 | TypeScript |
@@ -20,7 +20,9 @@ add_stable_dist_tag() {
# workaround makes Semantic Release unusable, so we need to trick it.
#
# Tracked as https://github.com/semantic-release/semantic-release/issues/390
+# Related https://github.com/travis-ci/travis-ci/issues/8239
export TRAVIS_JOB_NUMBER="WORKAROUND.1"
+export TRAVIS_TEST_RESULT=... | chore: Fix releasing of new Dredd versions | null | apiaryio/dredd | MIT License | Shell |
@@ -12,10 +12,12 @@ import Bee32 from '@carbon/icons-react/lib/bee/32';
import { COLORS } from '../../styles/styles';
-const StructuredListWrapperStyled = styled(StructuredListWrapper)`
- {
+
+const StructuredListWrapperStyled = styled(({isFixedWidth, ...others}) => (
+ <StructuredListWrapper {...others} />
+))`
&& {
-... | chore(Structured): fix | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | JavaScript |
@@ -13,11 +13,11 @@ extension XCTestCase {
func wait(for interval: DispatchTimeInterval) {
let dummyExpectation = expectation(description: "wait for 2 seconds.")
- DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + .seconds(2)) {
+ DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + interval) {
dummy... | chore: stabilize BackoffSchedulerTests suit | null | adyen/adyen-ios | MIT License | Swift |
package com.appsmith.server.services.ce;
import com.appsmith.external.constants.AnalyticsEvents;
+import com.appsmith.external.models.ActionDTO;
import com.appsmith.external.models.Datasource;
import com.appsmith.external.models.Policy;
import com.appsmith.server.acl.AclPermission;
@@ -19,7 +20,6 @@ import com.appsmith... | chore: Fix inconsistency in behaviour when re-marking public | null | appsmithorg/appsmith | Apache License 2.0 | Java |
@@ -14,7 +14,8 @@ export default {
'!**/*.cy.{ts,tsx}',
'!**/node_modules/**',
'!packages/*/src/index.ts',
- '!packages/main/src/components/AnalyticalTable/types/*' // no table enums
+ '!packages/main/src/components/AnalyticalTable/types/*', // no table enums,
+ '!**/CodeGen.tsx'
],
setupFiles: ['jest-canvas-mock'],
se... | chore: don't collect coverage from `CodeGen` files | null | sap/ui5-webcomponents-react | Apache License 2.0 | JavaScript |
@@ -575,7 +575,7 @@ const SEED_DATA_PROPS = {
description: "The label to be displayed on the text field",
formType: FORM_TYPES.string,
propType: PROP_TYPES.STRING,
- defaultValue: "First Name",
+ defaultValue: null,
editable: true,
required: true,
},
@@ -627,7 +627,7 @@ const SEED_DATA_PROPS = {
"The mode of the icon t... | chore(textinput): fix bad placeholders for mike | null | draftbit/react-native-jigsaw | MIT License | TypeScript |
@@ -174,7 +174,6 @@ internal final class ComponentManager {
private func createMBWayComponent(_ paymentMethod: MBWayPaymentMethod) -> MBWayComponent? {
MBWayComponent(paymentMethod: paymentMethod,
apiContext: apiContext,
- shopperInformation: prefiledShopperInformation(),
style: style.formComponent)
}
@@ -187,7 +186,7 ... | chore: Remove prefilling mock on component manager | null | adyen/adyen-ios | MIT License | Swift |
@@ -29,6 +29,7 @@ course_end = '2015-12-31'
describe 'the course page', type: :feature, js: true do
let(:es_wiktionary) { create(:wiki, language: 'es', project: 'wiktionary') }
+ let(:en_wikipedia) { create(:wiki, language: 'en', project: 'wikipedia') }
before do
stub_wiki_validation
page.current_window.resize_to(1920,... | chore: add feature test for home_wiki update | null | wikieducationfoundation/wikiedudashboard | MIT License | Ruby |
@@ -2698,7 +2698,7 @@ public class AuthorizeRestWebServiceHttpTest extends BaseTest {
* If a client has only openid scope and pairwise id, person should not have to authorize.
*/
@Parameters({"userId", "userSecret", "redirectUris", "redirectUri", "sectorIdentifierUri"})
- //@Test // Before run this test, set skipAuthor... | chore: try to enable test | null | gluufederation/oxauth | MIT License | Java |
@@ -115,7 +115,6 @@ export default Vue.extend({
computed: {
getRowKey () {
- console.log('computing')
return typeof this.rowKey === 'function'
? this.rowKey
: row => row[this.rowKey]
| chore(QTable): remove leftover debug statement | null | quasarframework/quasar | MIT License | JavaScript |
@@ -273,7 +273,7 @@ impl FromStr for ChannelRole {
"source" => Ok(ChannelRole::Source),
"sink" => Ok(ChannelRole::Sink),
"router" => Ok(ChannelRole::Router),
- _ => Err("role must be set to either 'initiator' or 'responder'".into()),
+ _ => Err("role must be set to either 'source', 'sink', or 'router'".into()),
}
}
}
| chore(rust): update error message to match cli args | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -25,6 +25,7 @@ import (
"sync"
"github.com/codenotary/immudb/embedded/store"
+ "github.com/codenotary/immudb/embedded/tbtree"
)
var ErrNoSupported = errors.New("not yet supported")
@@ -927,7 +928,7 @@ func (e *Engine) QueryPreparedStmt(stmt *SelectStmt, params map[string]interface
if renewSnapshot {
err := e.RenewSn... | chore(embedded/sql): resolve query with current snapshot if readers are still open | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -107,10 +107,8 @@ class Parser extends Transform {
options.delimiter = options.delimiter.map(function(del){
if(del === undefined || del === null || del === false){
return Buffer.from(',')
- }else if(typeof del === 'string' && del.length !== 0){
+ }else if((typeof del === 'string' || Buffer.isBuffer(del)) && del.leng... | chore(csv-parse): Refactor code | null | adaltas/node-csv | MIT License | JavaScript |
@@ -25,14 +25,14 @@ pidfile ENV.fetch('PIDFILE') { 'tmp/pids/server.pid' }
# Workers do not work on JRuby or Windows (both of which do not support
# processes).
#
-# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
+workers ENV.fetch('WEB_CONCURRENCY') { 2 }
# Use the `preload_app!` method when specifying a `workers` number.... | chore: Enable preload_app in Puma Config | null | theodinproject/theodinproject | MIT License | Ruby |
@@ -16,6 +16,6 @@ class WireUiAssetsController
public function styles(): BinaryFileResponse
{
- return $this->pretendResponseIsFile(__DIR__ . '/../../dist/wireui.css');
+ return $this->pretendResponseIsFile(__DIR__ . '/../../dist/wireui.css', $mimeType = 'text/css');
}
}
| chore: add mime type to css file response | null | wireui/wireui | MIT License | PHP |
@@ -234,7 +234,9 @@ export class MachinaService {
this.ipc.packets$.pipe(
ofPacketType('effectResult'),
- filter(packet => packet.sourceActorSessionID === packet.targetActorSessionID)
+ filter(packet => {
+ return packet.sourceActorSessionID === packet.targetActorSessionID && packet.actorID === packet.actorID1
+ })
).s... | chore: small fix for status effect monitor | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -236,11 +236,12 @@ function updateBody(url, callback, init) {
var code = res.statusCode;
if (code == 404) {
err = body = '';
+ logger.warn('[Load Rules]', url, 'status', 404);
} else if (!err && code != 200 && code != 204) {
- err = new Error('Response ' + code);
+ err = 'response ' + code;
}
if (err) {
- logger.err... | chore: log request exceptions | null | avwo/whistle | MIT License | JavaScript |
-"use strict";
-var __importDefault = (this && this.__importDefault) || function (mod) {
- return (mod && mod.__esModule) ? mod : { "default": mod };
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var __1 = __importDefault(require("../.."));
-require("jasmine");
-// the client's constructor isn't ... | chore(core): remove ignored file | null | bugsnag/bugsnag-js | MIT License | JavaScript |
@@ -364,6 +364,40 @@ public class TaskServiceTest {
}
}
+ @Test
+ @Deployment(resources = {"org/camunda/bpm/engine/test/api/oneTaskProcess.bpmn20.xml"})
+ public void testProcessAttachmentsOneProcessExecution() {
+ ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("oneTaskProcess");
+
+ // crea... | chore(engine/test): add test for process attachments | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -70,33 +70,39 @@ impl std::str::FromStr for Base58CryptoHash {
let mut crypto_hash: CryptoHash = CryptoHash::default();
let size = bs58::decode(value).into(&mut crypto_hash)?;
if size != std::mem::size_of::<CryptoHash>() {
- return Err(ParseCryptoHashError::InvalidLength(size));
+ return Err(ParseCryptoHashError {
+... | chore: remove public visibility of b58 error variant | null | near/near-sdk-rs | Apache License 2.0 | Rust |
@@ -6,6 +6,7 @@ import * as math from 'mathjs'
import ReactResizeDetector from 'react-resize-detector'
const ASPECT_RATIO = 16 / 9
+const MAX_TRANSMISSION_RATIO = 1.2
function uniformDatesBetween(min, max, n) {
const d = (max - min) / (n-1);
@@ -48,7 +49,7 @@ class Graph extends React.Component {
var yScale = d3
.scale... | chore: updated clamping function to reflect change of variables | null | neherlab/covid19_scenarios | MIT License | TypeScript |
* THE SOFTWARE.
*/
+import com.google.gson.Gson
import com.looker.rtl.*
import com.looker.sdk.AGENT_TAG
import com.looker.sdk.ENVIRONMENT_PREFIX
@@ -29,6 +30,7 @@ import com.looker.sdk.LOOKER_APPID
import kotlin.test.assertEquals
import kotlin.test.assertTrue
import org.junit.Test
+import java.io.File
class TestTranspo... | chore: test JSON deserialization for Kotlin | null | looker-open-source/sdk-codegen | MIT License | Kotlin |
@@ -104,8 +104,10 @@ open class Player: UIViewController, BaseObject {
public init(options: Options = [:], externalPlugins: [Plugin.Type] = []) {
super.init(nibName: nil, bundle: nil)
+
Player.register(playbacks: [])
Player.register(plugins: externalPlugins)
+
Logger.logInfo("loading with \(options)", scope: "Clappr")
... | chore: closing register method on tvOS | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -58,7 +58,7 @@ func (p *AppProject) GetRoleByName(name string) (*ProjectRole, int, error) {
return nil, -1, fmt.Errorf("role '%s' does not exist in project '%s'", name, p.Name)
}
-// GetJWTToken looks up the index of a JWTToken in a project by id (new token), if not then by the issue at time (old token)
+// GetJWTTo... | chore: Fix the wrong go method sign of GetJWTTokenFromSpec | null | argoproj/argo-cd | Apache License 2.0 | Go |
@@ -184,6 +184,11 @@ void SMPMessageControllerListener::ProcessPrepareMsg()
int openStreamRet = 0;
mPlayer.mDemuxerService->GetStreamMeta(pMeta, i, false);
auto *meta = (Stream_meta *) (pMeta.get());
+
+ if (mPlayer.mDuration < 0) {
+ mPlayer.mDuration = meta->duration;
+ }
+
auto *info = new StreamInfo();
info->stream... | chore(SuperMediaPlayer): set duration after demuxer opened | null | alibaba/cicadaplayer | MIT License | C++ |
@@ -12,12 +12,17 @@ import XCTest
class BLIKComponentTests: XCTestCase {
+ var analyticsProviderMock: AnalyticsProviderMock!
+ var adyenContext: AdyenContext!
lazy var method = BLIKPaymentMethod(type: .blik, name: "test_name")
let payment = Payment(amount: Amount(value: 2, currencyCode: "PLN"), countryCode: "PL")
var s... | chore: Test BLIK component sends telemetry event | null | adyen/adyen-ios | MIT License | Swift |
@@ -62,11 +62,13 @@ public final class ListViewController: UITableViewController {
/// :nodoc:
public func reload(newSections: [ListSection], animated: Bool = false) {
dataSource.reload(newSections: newSections, tableView: tableView, animated: animated)
+ adyen.updatePreferredContentSize()
}
/// :nodoc:
public func del... | chore: update ListViewController height after deleting or reloading the list | null | adyen/adyen-ios | MIT License | Swift |
@@ -125,16 +125,7 @@ public class PaContextSwitchCustomSerializerTest extends AbstractFoxPlatformInte
}
}
-// for (TransitionInstance childInstance : activityInstance.getChildTransitionInstances()) {
-// ActivityInstance instance = getChildInstanceForTrActivity(childInstance, activityId);
-// if (instance != null) {
-/... | chore(test): clean up it test | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -90,6 +90,14 @@ export default class BaseBrush extends React.Component<BaseBrushProps, BaseBrush
resetOnEnd: false,
};
+ componentDidMount = () => {
+ window.addEventListener("mouseup", handleDragEnd);
+ }
+
+ componentWillUnmount = () => {
+ window.removeEventListener("mouseup", handleDragEnd);
+ }
+
componentDidUp... | chore: handle window mouseup | null | airbnb/visx | MIT License | TypeScript |
@@ -378,8 +378,10 @@ var AllKubernetesSupportedVersionsAzureStack = map[string]bool{
"1.20.6": false,
"1.20.11": false,
"1.21.10": false,
- "1.22.7": true,
- "1.23.6": true,
+ "1.22.7": false,
+ "1.22.15": true,
+ "1.23.6": false,
+ "1.23.12": true,
}
// AllKubernetesWindowsSupportedVersionsAzureStack maintain a set of... | chore: enable latest k8s v1.22 and v1.23 on Azure Stack Hub | null | azure/aks-engine | MIT License | Go |
@@ -3,7 +3,7 @@ const path = require('path');
const fse = require('fs-extra');
const rimraf = require('rimraf');
-const {exec} = require('../../utils/exec');
+const {execSync} = require('../../utils/exec');
module.exports = {
command: 'journey <distPath>',
@@ -28,11 +28,9 @@ module.exports = {
.then(() => {
fse.copy(pa... | chore(scripts): change build for journey to execSync webpack | null | webex/react-widgets | MIT License | JavaScript |
@@ -21,8 +21,5 @@ echo "$GOOGLE_CREDS" | docker login -u "$GCR_USER" --password-stdin "$GCR_REGIST
# pull in latest docker images
docker pull alpine
-docker pull node:lts-alpine
-docker pull python:3-alpine
-docker pull ruby:2-alpine
GOOGLE_APPLICATION_CREDENTIALS=<(echo "$GOOGLE_CREDS") goreleaser release --rm-dist
| chore: avoid pulling docker images we no longer use | null | dopplerhq/cli | Apache License 2.0 | Shell |
@@ -9,10 +9,14 @@ const { logOptions, logConfigPath } = require('../log/main')
// Retrieve configuration object
const loadConfig = async function(options) {
- const optsWithDefaults = Object.assign({}, {
+ const optsWithDefaults = Object.assign(
+ {},
+ {
...(CONTEXT && { context: CONTEXT }),
- ...(NETLIFY_TOKEN && { t... | chore: pretty | null | netlify/build | MIT License | JavaScript |
@@ -337,8 +337,11 @@ fi
log_debug "Detected format '$format'"
if [ "$VERIFY_SIGNATURE" -eq 1 ]; then
- log_debug "Checking for gpg binary"
- if [ ! -x "$(command -v gpg)" ]; then
+ gpg_binary="$(command -v gpg || true)";
+ if [ -x "$gpg_binary" ]; then
+ log_debug "Using $gpg_binary for signature verification"
+ else
+... | chore: log gpg binary path | null | dopplerhq/cli | Apache License 2.0 | Shell |
-import { cond, identity, stubTrue, conforms } from 'lodash-es';
-
-const HTML$JSReg = /html|js/;
-
-const testHTMLJS = conforms({ ext: ext => HTML$JSReg.test(ext) });
-// const testJS = matchesProperty('ext', 'js');
-const passToNext = [stubTrue, identity];
-
-// Detect if a JS multi-line comment is left open
-const t... | chore: delete obsolete file throwers.js | null | freecodecamp/freecodecamp | BSD 3-Clause New or Revised License | JavaScript |
@@ -3,6 +3,8 @@ export * from './components/Badge/index'
export * from './components/Box/index'
export * from './components/Button/index'
export * from './components/ConnectedField/index'
+export * from './components/DatePicker/index'
+export * from './components/DatePickerPopper/index'
export * from './components/Date... | chore: add missing exports | null | wttj/welcome-ui | MIT License | JavaScript |
@@ -219,8 +219,10 @@ func (idx *indexer) CompactIndex() (err error) {
defer func() {
if err == nil {
idx.store.log.Infof("Index '%s' sucessfully compacted", idx.store.path)
+ } else if err == tbtree.ErrCompactionThresholdNotReached {
+ idx.store.log.Infof("Compaction of index '%s' not needed: %v", idx.store.path, err)
... | chore(embedded/store): improve compaction logging | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -357,7 +357,8 @@ class PreviewEnvironmentCodeEventListener(
}
/**
- * Adds the specified [branchDetail] to the [Moniker.detail] field of the [ResourceSpec].
+ * Adds the specified [branchDetail] to the [Moniker.detail] field of the [ResourceSpec] of each dependency
+ * of this resource that is also managed.
*
* Limi... | chore(logs): Add more debug logging to preview environments | null | spinnaker/keel | Apache License 2.0 | Kotlin |
@@ -118,11 +118,8 @@ class NewPage extends AbstractCommand
*/
private function findModel(string $name): string
{
- $section = strstr($name, DIRECTORY_SEPARATOR, true);
- if ($section && file_exists($model = Util::joinFile($this->getPath(), 'models', "$section.md"))) {
- return Util\File::fileGetContents($model);
- }
- ... | chore: enhances code of new page command | null | cecilapp/cecil | MIT License | PHP |
@@ -16,20 +16,17 @@ rm -rf "$COVERAGE_DIR" "$COVERAGE_FILE"
mkdir "$COVERAGE_DIR"
chmod +x "$PROJECT_DIR"/bin/dredd
+
+export COVERAGE_DIR
+
+
# Testing & coverage
istanbul cover ./node_modules/.bin/_mocha -- \
"test/**/*-test.coffee" \
- --compilers=coffee:coffee-script/register \
+ --reporter=test/reporter.js \
--rec... | chore: Fix scripts/coverage.sh script | null | apiaryio/dredd | MIT License | Shell |
@@ -89,7 +89,8 @@ defmodule Logflare.SqlTest do
# invalid queries
for {input, expected} <- [
- # sandbox: no select into support
+ # select-into queries are not parsed.
+ {"SELECT a FROM a INTO b", "end of statement"},
{
{"with src as (select a from my_table) select c from src",
"select a from src into src"},
@@ -160,7... | chore: extend select-into validity check test | null | logflare/logflare | Apache License 2.0 | Elixir |
@@ -89,7 +89,7 @@ defmodule Logflare.SqlTest do
"with src as (select a from #{table}), src2 as (select a from src where a > 5) select a, b, c from src2"
}
] do
- assert {:ok, v1} = SQL.transform(input |> IO.inspect(), user) |> IO.inspect()
+ assert {:ok, v1} = SQL.transform(input, user)
assert {:ok, v2} = SqlV2.transfo... | chore: remove inspect | null | logflare/logflare | Apache License 2.0 | Elixir |
@@ -23,6 +23,8 @@ if (!baseUrl) {
const browser = process.env.BROWSER || 'chrome';
const version = process.env.VERSION || 'latest';
const platform = process.env.PLATFORM || 'mac 10.12';
+const build = process.env.BUILD_NUMBER || `local-${process.env.USER}-wdio-${Date.now()}`;
+process.env.BUILD_NUMBER = build;
const tu... | chore(journeys): create initial job for pass status | null | webex/react-widgets | MIT License | JavaScript |
@@ -116,5 +116,25 @@ namespace Microsoft.Playwright.Tests
Assert.Equal(42, await target.EvaluateAsync<int>("x => x.foo"));
Assert.Equal(17, result);
}
+
+ [Fact(Timeout = TestConstants.DefaultTestTimeout)]
+ public async Task ExposeBindingHandleLikeInDocumentation()
+ {
+ var result = new TaskCompletionSource<string>()... | chore(test): adding expose handle test | null | microsoft/playwright-dotnet | MIT License | C# |
@if ($icon)
<x-wireui::icon :name="$icon" class="h-5 w-5" />
@elseif($prefix)
- <span class="w-5 flex items-center justify-center font-semibold">
+ <span class="pl-1 flex items-center self-center">
{{ $prefix }}
</span>
@endif
@if ($rightIcon)
<x-wireui::icon :name="$rightIcon" class="h-5 w-5" />
@elseif($suffix)
- <sp... | chore: change css classes | null | wireui/wireui | MIT License | PHP |
@@ -21,8 +21,8 @@ public class CamundaSecurityConfiguration {
CamundaRestDistroProperties camundaRestDistroProperties;
@Bean
- public FilterRegistrationBean processEngineAuthenticationFilter() {
- FilterRegistrationBean registration = new FilterRegistrationBean();
+ public FilterRegistrationBean<Filter> processEngineAu... | chore(rest): add missing generic | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -160,7 +160,11 @@ pub mod pallet {
<Error<T, I>>::TooManyRequests
);
- log::debug!("Going to try and finalize header {:?} gateway {:?}", finality_target, gateway_id);
+ log::debug!(
+ "Going to try and finalize header {:?} gateway {:?}",
+ finality_target,
+ gateway_id
+ );
let (hash, number) = (finality_target.hash... | chore: fmt mfv | null | t3rn/t3rn | Apache License 2.0 | Rust |
@@ -9,9 +9,11 @@ export default function uuid() {
const d1 = Math.random() * 0xffffffff | 0
const d2 = Math.random() * 0xffffffff | 0
const d3 = Math.random() * 0xffffffff | 0
+ /* eslint-disable */
return `${lut[d0 & 0xff] + lut[d0 >> 8 & 0xff] + lut[d0 >> 16 & 0xff] + lut[d0 >> 24 & 0xff]}-${
lut[d1 & 0xff]}${lut[d1 ... | chore(utils): lint uuid | null | davidwells/analytics | MIT License | JavaScript |
@@ -2007,11 +2007,13 @@ public class ProcessInstanceQueryTest {
String processInstanceId = runtimeService.startProcessInstanceByKey(superProcess, businessKey).getProcessInstanceId();
// when
- ProcessInstanceQuery query = runtimeService.createProcessInstanceQuery().rootProcessInstances();
+ ProcessInstanceQuery query =... | chore(engine-rest): refactor top level pi test cases | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -295,7 +295,7 @@ const SummaryCharts = ({
{national ? (
<> Overview of National COVID-19 Data</>
) : (
- <>Key Metrics</>
+ <>State-level Metrics</>
)}
</h2>
<div className={styles.toggleContainer}>
| chore: Fix summary title | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -215,7 +215,7 @@ export class DebugAdapter {
async removeDelegate(delegate: DebugAdapterDelegate): Promise<void> {
this._delegates.delete(delegate);
if (!this._delegates.size)
- this.dap.exited({ exitCode: 0 });
+ this.dap.terminated({});
this._onExecutionContextForestChangedEmitter.fire(this.executionContextForest(... | chore: issue dap.terminated, not exited when all delegates are gone | null | microsoft/vscode-js-debug | MIT License | TypeScript |
@@ -25,7 +25,7 @@ import net.jodah.typetools.TypeResolver;
/**
* @since 8.1
- * @param R - the resource's class type who's instances need to be expanded with additional fields
+ * @param <R> - the resource's class type who's instances need to be expanded with additional fields
*/
public interface ResourceExpander<R> {
| chore(javadoc): fix type argument in ResourceExpander javadoc | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -2,9 +2,9 @@ package user
import (
"context"
- "strconv"
"github.com/1024casts/snake/internal/service"
+ "github.com/spf13/cast"
"github.com/gin-gonic/gin"
@@ -25,15 +25,14 @@ import (
func Get(c *gin.Context) {
log.Info("Get function called.")
- userIDStr := c.Param("id")
- if userIDStr == "" {
+ userID := cast.ToU... | chore: convert param using cast | null | go-eagle/eagle | MIT License | Go |
@@ -251,6 +251,7 @@ public class ApplePayComponent: NSObject, PaymentComponent, PresentableComponent
private func getPaymentAuthorizationViewController() -> PKPaymentAuthorizationViewController? {
if paymentAuthorizationViewController == nil {
paymentAuthorizationViewController = newPaymentAuthorizationViewController()... | chore: reset isSuccesfull when new ViewController created | null | adyen/adyen-ios | MIT License | Swift |
* - Node.prototype.removeChild
* - Node.prototype.insertBefore
* - Node.prototype.replaceChild
+ * - ChildNode.prototype.remove
*/
describe('Node API', () => {
it('should work', async () => {
@@ -36,4 +37,12 @@ describe('Node API', () => {
await matchScreenshot();
});
+
+ it('ChildNode.prototype.remove', () => {
+ cons... | chore: add test case for child node remove | null | openkraken/kraken | Apache License 2.0 | TypeScript |
{{ $this->modal }}
<script>
- /**
- * JS/Alpine implementation of
- * https://github.com/laravel/framework/blob/5299c22321c0f1ea8ff770b84a6c6469c4d6edec/src/Illuminate/Translation/MessageSelector.php#L15
- */
+ // https://github.com/laravel/framework/blob/5299c22321c0f1ea8ff770b84a6c6469c4d6edec/src/Illuminate/Translat... | chore: refactored vars into consts, removed ending semicolons | null | laravel-filament/filament | MIT License | PHP |
@@ -44,25 +44,3 @@ export GOOGLE_CLOUD_CPP_SPANNER_TEST_INSTANCE_ID="test-instance"
export GOOGLE_CLOUD_CPP_SPANNER_TEST_SERVICE_ACCOUNT="spanner-iam-test-sa@${GOOGLE_CLOUD_PROJECT}.iam.gserviceaccount.com"
# Cloud Pub/Sub only needs GOOGLE_CLOUD_PROJECT
-
-#
-# TODO(#3523 #3524) - remove these legacy variables
-#
-
-e... | chore: remove legacy shell env vars | null | googleapis/google-cloud-cpp | Apache License 2.0 | Shell |
@@ -761,13 +761,17 @@ abstract class Element extends Node
@mustCallSuper
Node appendChild(Node child) {
super.appendChild(child);
+ // Only append node types which is visible in RenderObject tree
+ if (child is Element || child is TextNode) {
appendElement(child);
+ }
return child;
}
@override
@mustCallSuper
Node remov... | chore: add comment for append/remove element | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -26,14 +26,14 @@ public extension CapacitorExtensionTypeWrapper where T: UIColor {
with: ""
)
- var argb: UInt32 = 0
+ var argb: UInt64 = 0
var red: CGFloat = 0.0
var green: CGFloat = 0.0
var blue: CGFloat = 0.0
var alpha: CGFloat = 1.0
- guard Scanner(string: hexString).scanHexInt32(&argb) else { return nil }
+ gua... | chore(iOS): scanHexInt32 is deprecated so use scanHexInt64 instead | null | ionic-team/capacitor | MIT License | Swift |
+import { PrismaClient } from '@prisma/client'
+import {
+ DAI_ADDRESS,
+ FRAX_ADDRESS,
+ FXS_ADDRESS,
+ MIM_ADDRESS,
+ Native,
+ SUSHI_ADDRESS,
+ USDC_ADDRESS,
+ USDT_ADDRESS,
+} from '@sushiswap/currency'
+import { ChainId, chainName, chainShortName, chainShortNameToChainId } from '@sushiswap/chain'
+
+const prisma =... | chore(scripts/aggregator): playground script | null | sushiswap/sushiswap | MIT License | TypeScript |
@@ -97,8 +97,7 @@ class FileUtilExtended {
try {
if (regExExcludeFilter != null)
excluder.exclude = new Regex(regExExcludeFilter);
- }
- catch (ArgumentException) {
+ } catch (ArgumentException) {
UnityEngine.Debug.Log("CopyDirectoryRecursive: Pattern '" + regExExcludeFilter + "' is not a correct Regular Expression. No... | chore: formatted more code | null | decentraland/explorer | Apache License 2.0 | C# |
@@ -486,8 +486,18 @@ class Element extends Node
}
}
- // Find all the nested positioned absolute children.
- List<Element> findPositionAbsoluteChildren() {
+ // Find all the nested position absolute elements which need to change the containing block
+ // from other element to this element when element's position is cha... | chore: comment opt | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -26,7 +26,7 @@ EOF
git status
# Release package only if lerna detected some changes in packages
- if yarn run lerna changed &> /dev/null; then
+ if yarn run lerna changed; then
echo "Releasing canary version"
yarn release:canary
else
| chore: debug lerna changed | null | commercetools/merchant-center-application-kit | MIT License | Shell |
@@ -142,9 +142,8 @@ public interface MessageCorrelationBuilder {
/**
* Executes the message correlation.
*
- * @deprecated use {@link #correlateWithResult()} instead.
+ * @see {@link #correlateWithResult()}
*/
- @Deprecated
void correlate();
@@ -201,9 +200,8 @@ public interface MessageCorrelationBuilder {
/**
* Execute... | chore(correlation): remove annotation | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -23,6 +23,7 @@ extension AnalyticsProvider: TelemetryTrackerProtocol {
guard enabled else { return }
guard telemetry else { return }
+ let paymentMethods = flavor == .dropin ? paymentMethods : []
let telemetryData = TelemetryData(flavor: flavor,
paymentMethods: paymentMethods,
component: component)
| chore: Send empty payment methods when flavor is dropping [aligned with backend] | null | adyen/adyen-ios | MIT License | Swift |
@@ -270,8 +270,8 @@ install_hashicorp_tools() {
CONSUL_VERSION="1.12.3-1"
NOMAD_VERSION="1.3.2-1"
# packer doesn't have the -1s at the end for some reason, until 1.8.1. When upgrading please confirm with `apt-cache showpkg packer`
- PACKER_VERSION="1.8.1-1"
- VAULT_VERSION="1.10.3-1"
+ PACKER_VERSION="1.8.2-1"
+ VAULT_... | chore: Update Packer and Vault | null | grapl-security/grapl | Apache License 2.0 | Shell |
@@ -160,13 +160,14 @@ module.exports = {
new MiniCssExtractPlugin({
filename: '[name].css'
}),
- new CopyPlugin([
+ new CopyPlugin({
+ patterns: [
{
from: 'src/assets',
to: '',
- copyUnmodified: true,
},
- ]),
+ ],
+ }),
new VueLoaderPlugin(),
new webpack.DefinePlugin({
VERSION: JSON.stringify(require('./src/assets/man... | chore: update copy-webpack-plugin config | null | diygod/rsshub-radar | MIT License | JavaScript |
@@ -41,6 +41,11 @@ const EXEC_TIME_BENCHMARKS: &[(&str, &[&str], Option<i32>)] = &[
&["run", "--reload", "cli/tests/003_relative_import.ts"],
None,
),
+ (
+ "no_check_hello",
+ &["run", "--reload", "--no-check", "cli/tests/002_hello.ts"],
+ None,
+ ),
(
"workers_startup",
&["run", "--allow-read", "cli/tests/workers_sta... | chore: add no_check_hello benchmark | null | denoland/deno | MIT License | Rust |
/*
- * Copyright 2011-2020 B2i Healthcare Pte Ltd, http://b2i.sg
+ * Copyright 2011-2022 B2i Healthcare Pte Ltd, http://b2i.sg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -250,6 +250,8 @@ public abstract class SnomedConstants ... | chore(constants): add partially equivalent to association concept | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -33,6 +33,10 @@ import com.vaadin.flow.server.Command;
public interface Registration extends Serializable {
/**
* Removes the associated listener from the event source.
+ * <p>
+ * The {@code remove} method called after removal does nothing.
+ *
+ * @see #once(Command)
*/
void remove();
| chore: Clarify idempotence of Registrations | null | vaadin/flow | Apache License 2.0 | Java |
@@ -16,20 +16,25 @@ class ThrottlerTests: XCTestCase {
let xctExpectation = expectation(description: "wait for last block execution")
- let tries = 100
+ let triesCount = 15
- (0..<tries).forEach { index in
+ let delays = (0..<triesCount).map { _ in Int.random(in: 100...1500) }
+
+ delays.enumerated().forEach { iterato... | chore: Fixes ThrottlerTests unit tests | null | adyen/adyen-ios | MIT License | Swift |
-# -*- coding: utf-8 -*-
-# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
-# See license.txt
-from __future__ import unicode_literals
-
-import frappe
-import unittest
-
-from frappe.desk.doctype.desktop_icon.desktop_icon import (get_desktop_icons, add_user_icon,
- set_hidden_list, set_order, clear... | chore(test): remove desk test | null | frappe/frappe | MIT License | Python |
@@ -162,7 +162,7 @@ type RuleTestCase struct {
}
// PhysicalRuleTestHelper will run a rule test case.
-func PhysicalRuleTestHelper(t *testing.T, tc *RuleTestCase) {
+func PhysicalRuleTestHelper(t *testing.T, tc *RuleTestCase, options ...cmp.Option) {
t.Helper()
before := CreatePlanSpec(tc.Before)
@@ -222,14 +222,15 @@ ... | chore(test): allow optional passed in cmp.Option parameters in some tests | null | influxdata/flux | MIT License | Go |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.