diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -19,10 +19,12 @@ namespace PeanutButter.Utils
bool mustMatchMemberType
)
{
+#pragma warning disable S1067
return master.Name == other.Name &&
other.Type.IsAssignableOrUpcastableTo(master.Type) &&
master.AccessMatches(other) &&
(!mustMatchMemberType || master.MemberType == other.MemberType);
+#pragma warning restore ... | chore: suppress warning S1067 (too high complexity) | null | fluffynuts/peanutbutter | BSD 3-Clause New or Revised License | C# |
@@ -317,6 +317,11 @@ class AvatarModify(commands.Cog):
async def mosaic_command(self, ctx: commands.Context, squares: int = 16) -> None:
"""Splits your avatar into x squares, randomizes them and stitches them back into a new image!"""
async with ctx.typing():
+ member = await self._fetch_member(ctx.author.id)
+ if not ... | chore: Fetch the member and use Colours.blue in the embed for the .mosaic command | null | python-discord/sir-lancebot | MIT License | Python |
@@ -63,11 +63,9 @@ func TestDuplicateMetric(t *testing.T) {
}
}
-/* A program can add a metric with the same name and
- of different type.
- Prometheus behavior in this case is undefined.
- @see https://github.com/google/mtail/issues/130
-*/
+// A program can add a metric with the same name and of different type.
+// P... | chore: Reformat comments | null | google/mtail | Apache License 2.0 | Go |
@@ -53,6 +53,7 @@ type ServerOption struct {
PrintVersion bool
ListenAddress string
EnablePriorityClass bool
+ // vc-scheduler will load (not activate) custom plugins which are in this directory
PluginsDir string
// HealthzBindAddress is the IP address and port for the health check server to serve on
// defaulting to :... | chore: add `PluginsDir` comments | null | volcano-sh/volcano | Apache License 2.0 | Go |
@@ -265,42 +265,6 @@ defmodule Ash.Test.Resource.Relationships.BelongsToTest do
)
end
- test "warns if the destination resource doesn't have the correct field" do
- defposts do
- relationships do
- has_many(:comments, Comment)
- end
- end
-
- defcomments do
- actions do
- defaults [:create]
- end
-
- relationships do
-... | chore: remove test that produces warning because there is no way to silence it | null | ash-project/ash | MIT License | Elixir |
import BigInt
import Foundation
+/// The default implementation of access of common [ERC-20](https://eips.ethereum.org/EIPS/eip-20#methods) properties `name`, `symbol` and `decimals`.
public final class ERC20BasePropertiesProvider {
var name: String?
var symbol: String?
| chore: added docs to ERC20BasePropertiesProvider | null | skywinder/web3swift | Apache License 2.0 | Swift |
@@ -65,19 +65,26 @@ internal final class PaymentsViewModel: ObservableObject, Identifiable, Presente
// MARK: - Presenter
internal func presentAlert(with error: Error, retryHandler: (() -> Void)? = nil) {
- interruptionPresentationContext.alertItem.wrappedValue = AlertItem(title: Text("Error"),
- message: Text(error.lo... | chore: Small fix for PaymentsViewModel in AdyenSwiftUI example app | null | adyen/adyen-ios | MIT License | Swift |
@@ -2,6 +2,7 @@ plugins {
id("com.cognifide.aet.java-conventions")
id("com.cognifide.aet.test-coverage") apply false
id("org.nosphere.apache.rat") version "0.7.0"
+ id("net.researchgate.release") version "2.8.1"
}
defaultTasks(":zip:make")
| chore: Add gradle release plugin | null | wttech/aet | Apache License 2.0 | Kotlin |
use pact_matching::models::{Pact, Consumer, Provider, Interaction};
use lazy_static::*;
+use maplit::*;
use std::sync::Mutex;
use std::cell::RefCell;
+use std::collections::HashMap;
lazy_static! {
- static ref PACT_HANDLES: Mutex<Vec<RefCell<Pact>>> = Mutex::new(vec![]);
+ static ref PACT_HANDLES: Mutex<HashMap<usize, ... | chore: use a hashmap instead of a vec to store the Pact models | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -13,6 +13,8 @@ import (
"fmt"
"os"
+ "google.golang.org/grpc"
+
"github.com/1024casts/snake/internal/server"
"github.com/gin-gonic/gin"
@@ -82,13 +84,21 @@ func main() {
routers.LoadWebRouter(router)
// init service
- svc := service.New(conf.Conf)
+ var svc *service.Service
+ svc = service.New(conf.Conf)
// set glob... | chore: optimize graceful shutdown and replace office log pkg to using self log pkg | null | go-eagle/eagle | MIT License | Go |
@@ -160,13 +160,13 @@ class WP_REST_PodloveEpisode_Controller extends WP_REST_Controller
register_rest_route($this->namespace, '/'.$this->rest_base, [
[
'methods' => WP_REST_Server::READABLE,
- 'callback' => [$this, 'get_episodes'],
- 'permission_callback' => [$this, 'get_episodes_permission_check'],
+ 'callback' => [$... | chore: alignment of class function names with the parent class | null | podlove/podlove-publisher | MIT License | PHP |
@@ -58,35 +58,6 @@ download_binary() {
chmod +x ./bins/$ver/*
}
-# Clone only specified dir or file in the specified commit
-git_partial_clone() {
- local repo_url="$1"
- local branch="$2"
- local worktree_path="$3"
- local local_path="$4"
-
- echo " === Clone $repo_url@$branch:$worktree_path"
- echo " === To $local_pa... | chore(fuse-compatibility): start old query with old meta server, because the latest meta server may not work with an old query | null | datafuselabs/databend | Apache License 2.0 | Shell |
class EksAnywhere < Formula
desc "CLI for managing EKS Anywhere Kubernetes clusters"
homepage "https://github.com/aws/eks-anywhere"
- version "0.6.0"
+ version "0.6.1"
if OS.mac?
- url "https://anywhere-assets.eks.amazonaws.com/releases/eks-a/2/artifacts/eks-a/v0.6.0/darwin/eksctl-anywhere-v0.6.0-darwin-amd64.tar.gz"
-... | chore: bump up EKSA version for v0.6.1 | null | aws/homebrew-tap | Apache License 2.0 | Ruby |
@@ -101,9 +101,6 @@ const LongTermCarePage = ({ data }) => {
/>
<Container centered>
<LongContent>
- <DetailText small>
- <Snippet slug="ltc-timechart-notes" />
- </DetailText>
<Snippet slug="ltc-definitions" />
</LongContent>
</Container>
| chore: Remove unused snippet | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -13,6 +13,7 @@ const getPackageNames = (callback, forceUpdatedPackages) => {
const command = tdsOptions.all ? 'ls' : 'updated'
exec(`npx lerna ${command} --json ${lernaOptions.join(' ')}`, (error, stdout) => {
+ // Uncomment these lines for debugging
// if (error) {
// console.error(error)
// process.exit(1)
| chore(scripts): add comment to getpackagenames | null | telus/tds-core | MIT License | JavaScript |
mkdir -p ../target/artifacts
cargo build --release
gzip -c ../target/release/pact_verifier_cli.exe > ../target/artifacts/pact_verifier_cli-windows-x86_64.exe.gz
-gzip -c ../target/release/libpact_verifier_cli.dll > ../target/artifacts/libpact_verifier_cli-windows-x86_64.dll.gz
-gzip -c ../target/release/libpact_verifie... | chore: correct the pact_verifier_cli windows release script | null | pact-foundation/pact-reference | MIT License | Shell |
@@ -495,6 +495,6 @@ public extension ABIEncoder {
} else if let data = ABIEncoder.convertToData(value as AnyObject) {
return data
}
- throw Web3Error.inputError(desc: "SoliditySha3: `abiEncode` accepts an Int/UInt (any of 8, 16, 32, 64 bits long), decimal or HEX string, Bool, Data, [UInt8], EthereumAddress, [IntegerLit... | chore: "hexadecimal" instead of "HEX" | null | skywinder/web3swift | Apache License 2.0 | Swift |
-#!/usr/bin/env bash
-#
-# Copyright (C) 2019 The Falco Authors.
-#
-#
-# 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 ... | chore(test/utils): remove unused script | null | falcosecurity/falco | Apache License 2.0 | Shell |
@@ -458,7 +458,6 @@ const (
scoreWordMatch = 500.0
scoreBase = 7000.0
scorePartialBase = 4000.0
- scoreImportantThreshold = 2000.0
scoreSymbol = 7000.0
scorePartialSymbol = 4000.0
scoreKindMatch = 100.0
| chore: remove unused scoreImportantThreshold | null | sourcegraph/zoekt | Apache License 2.0 | Go |
@@ -18,11 +18,11 @@ internal enum Configuration {
static let appName = "Adyen Demo"
- static let amount = Payment.Amount(value: 17408, currencyCode: "IDR")
+ static let amount = Payment.Amount(value: 17408, currencyCode: "EUR")
static let reference = "Test Order Reference - iOS UIHost"
- static let countryCode = "ID"
+... | chore: revert demo config change | null | adyen/adyen-ios | MIT License | Swift |
@@ -589,6 +589,11 @@ func (stmt *UpsertIntoStmt) compileUsing(e *Engine, implicitDB *Database, params
}
for _, col := range table.cols {
+ rval, notNull := valuesByColID[col.id]
+ if !notNull {
+ continue
+ }
+
b := make([]byte, EncIDLen)
binary.BigEndian.PutUint32(b, uint32(col.id))
@@ -597,11 +602,6 @@ func (stmt *Up... | chore(embedded/sql): ignore null values when encoding row | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -18,6 +18,10 @@ collectCloudProviderJson() {
if [ -f /etc/kubernetes/azurestackcloud.json ]; then
jq . /etc/kubernetes/azurestackcloud.json > ${DIR}/azurestackcloud.json
fi
+ if [ -f /opt/azure/vhd-install.complete ]; then
+ mkdir -p ${OUTDIR}/opt/azure
+ cp /opt/azure/vhd-install.complete ${OUTDIR}/opt/azure
+ fi
}... | chore: get-logs collects vhd-install.complete | null | azure/aks-engine | MIT License | Shell |
@@ -99,8 +99,8 @@ export function getPopulationParams(
const dCritical = row.critical / 100
const dFatal = row.fatal / 100
- // d.isolated is possible undefined
- const isolated = row.isolated ?? 0
+ // row.isolated is possible undefined
+ const isolated = row.isolated === undefined ? 0 : row.isolated
// Age specific r... | chore: use old check instead of ?? operator | null | neherlab/covid19_scenarios | MIT License | TypeScript |
@@ -302,11 +302,15 @@ open class FormTextItemView<ItemType: FormTextItem>: FormValueItemView<String, F
hideAlertLabel(false)
highlightSeparatorView(color: item.style.errorColor)
titleLabel.textColor = item.style.errorColor
+ } else {
+ if case .customView = accessory {
+ /* Do nothing */
} else {
accessory = .none
+ }
... | chore: Fix FormTextItemView broken validation | null | adyen/adyen-ios | MIT License | Swift |
@@ -18,7 +18,7 @@ module.exports = function(options) {
*/
return function SSEMiddleware(req, res, next) {
if (options.hub.clients.size >= options.maxClients) {
- Logger.warn(`More than ${options.maxClients} SSE clients are connected to the ${options.hub.name} SSE Hub. Terminating the oldest connection.`);
+ Logger.debu... | chore(webserver): Reduce SSE connection handling loglevel | null | hypfer/valetudo | Apache License 2.0 | JavaScript |
-//
-// Copyright Amazon.com Inc. or its affiliates.
-// All Rights Reserved.
-//
-// SPDX-License-Identifier: Apache-2.0
-//
-
-import Foundation
-
-class SessionTracker: InternalPinpointClient {
- unowned var context: PinpointContext
-
- init(context: PinpointContext) {
- self.context = context
- }
-
- var currentSes... | chore(Analytics): removing unnecesary file | null | aws-amplify/amplify-ios | Apache License 2.0 | Swift |
#!/bin/bash
if git status --porcelain yarn.lock | grep "M yarn.lock"
- then echo "yarn.lock is dirty. Please ensure changes have been committed"
+ then echo "yarn.lock is dirty. Please run 'yarn' in root of monorepo and commit changes to 'yarn.lock' file."
exit 1
else exit 0
fi
| chore: make dirty yarn.lock message more actionable | null | gatsbyjs/gatsby | MIT License | Shell |
#!/bin/sh
-FILE=`ls build/*.js.map | tail -n 1 | tr -d "\n"`
-MIN_FILE=`ls build/*.js | tail -n 1 | tr -d "\n"`
+INFLUX_MINIFIED_FILE=`ls build/*.js | tail -n 1 | tr -d "\n"`
+INFLUX_SOURCEMAP=`ls build/*.js.map | tail -n 1 | tr -d "\n"`
+
+CLOCKFACE_SOURCEMAP=node_modules/@influxdata/clockface/dist/index.js.map
+GIRAF... | chore(ui): add giraffe and clockface sourcemaps to honeybadger config | null | influxdata/influxdb | MIT License | Shell |
@@ -381,7 +381,7 @@ func (a *ArtifactServer) getArtifactAndDriver(ctx context.Context, nodeId, artif
art = wf.Status.Nodes[nodeId].Outputs.GetArtifactByName(artifactName)
}
if art == nil {
- return nil, nil, fmt.Errorf("artifact not found: %s", artifactName)
+ return nil, nil, fmt.Errorf("artifact not found: %s, isInpu... | chore: more verbose logging to uncover more info for Issue 9434 | null | argoproj/argo-workflows | Apache License 2.0 | Go |
@@ -383,10 +383,8 @@ func (idx *indexer) indexTX(txID uint64) error {
indexableEntries := 0
- now := time.Now()
-
for _, e := range txEntries {
- if e.md != nil && (e.md.NonIndexable() || e.md.ExpiredAt(now)) {
+ if e.md != nil && e.md.NonIndexable() {
continue
}
| chore(embedded/store): do not skip expired entries when indexing | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -32,25 +32,29 @@ export const fixtures: Fixtures<PlaywrightTestArgs & PlaywrightTestOptions & { m
if (!_ctPage.page || _ctPage.hash !== hash) {
if (_ctPage.page)
await _ctPage.page.close();
- _ctPage.page = await (browser as any)._wrapApiCall(async () => {
+ const page = await (browser as any)._wrapApiCall(async () ... | chore: more testing-friendly trace | null | microsoft/playwright | Apache License 2.0 | TypeScript |
@@ -228,16 +228,16 @@ const EDiscovery = SparkPlugin.extend({
* @returns {Array<UUID>} User ids for the email addresses being requested
*/
convertEmailsToUserIds(emails) {
- if (!emails) {
- throw Error('Undefined parameter');
- }
-
const userIds = [];
- if (emails.length <= 0) {
+ if (!emails || emails.length <= 0) {
... | chore(ediscovery): refactor based on review comments | null | webex/webex-js-sdk | MIT License | JavaScript |
@@ -85,6 +85,7 @@ fn decode_block(node: &NodeRef, context: &Context) -> Vec<BlockContent> {
// Decode a HTML element
//
// Custom elements must be dealt with outside of the following match.
+ #[allow(clippy::cmp_owned)]
if element.name.local == LocalName::from("stencila-code-chunk") {
let programming_language = if let ... | chore(HTML decoding): Linting | null | stencila/stencila | Apache License 2.0 | Rust |
@@ -33,10 +33,10 @@ require_clean_work_tree () {
set -e
# 0.1. Confirm Action
-read -p "Are you sure you wish to create a new release? Type the word 'release' to confirm: "
+read -p "Create a new release? Type the word 'release' to confirm: "
if [[ ! $REPLY =~ ^release$ ]]
then
- echo "release canceled."
+ echo "Releas... | chore(build): tweak wording in script | null | tinacms/tinacms | Apache License 2.0 | Shell |
@@ -166,6 +166,11 @@ func (s *StatusRollup) withRecipeEvent(e RecipeStatusEvent, rs StatusType) {
s.withEntityGUID(e.EntityGUID)
}
+ log.WithFields(log.Fields{
+ "recipe_name": e.Recipe.Name,
+ "status": rs,
+ }).Debug("recipe event")
+
found := s.getStatus(e.Recipe)
if found != nil {
| chore(install): log a recipe event at debug | null | newrelic/newrelic-cli | Apache License 2.0 | Go |
@@ -100,14 +100,14 @@ impl TcpSendWorker {
async fn schedule_heartbeat(&mut self, ctx: &Context) -> Result<()> {
let heartbeat_interval;
if let Some(hi) = &self.heartbeat_interval {
- heartbeat_interval = hi.clone();
+ heartbeat_interval = *hi;
} else {
return Ok(());
}
let child_ctx = ctx.new_context(Address::random(0... | chore(rust): fix clippy warnings | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -14,15 +14,7 @@ module.exports = {
'max-statements': 0,
'no-param-reassign': 0,
'no-process-exit': 0,
- 'fp/no-class': 0,
- 'fp/no-delete': 0,
- 'fp/no-get-set': 0,
- 'fp/no-let': 0,
'fp/no-loops': 'error',
- 'fp/no-mutating-assign': 0,
- 'fp/no-mutating-methods': 0,
- 'fp/no-mutation': 0,
- 'fp/no-this': 0,
'import... | chore: remove unused linting rule exceptions | null | netlify/cli | MIT License | JavaScript |
@@ -29,7 +29,7 @@ fi
currentBranch=$(git rev-parse --abbrev-ref HEAD)
if [[ $currentBranch != 'master' ]]; then
- error_exit "You mut be on master branch"
+ error_exit "You must be on master branch"
fi
if [[ -n $(git status --porcelain) ]]; then
| chore: Fix typo | null | algolia/autocomplete | MIT License | Shell |
@@ -22,9 +22,7 @@ type LinkTarget = '_blank'|'_parent'|'_self'|'_top';
export class LinkIconButton extends IconButtonBase {
@property({type: String}) linkHref = '';
- // Default to empty string so that in the generated Wit Soy template, by
- // default `linkTarget` is falsy and the `target` attribute is not printed.
- ... | chore(iconbutton): Modify link icon button syntax | null | material-components/material-components-web-components | Apache License 2.0 | TypeScript |
import { Gitako } from 'components/Gitako'
import { platform } from 'platforms'
import * as React from 'react'
-import * as ReactDOM from 'react-dom'
+import { createRoot } from 'react-dom/client'
import './content.scss'
if (platform.resolvePartialMetaData()) {
@@ -16,7 +16,7 @@ async function init() {
await injectStyl... | chore: render in the react 18 way | null | enixcoda/gitako | MIT License | TypeScript |
@@ -52,7 +52,7 @@ const base = {
],
},
optimization: {
- minimizer: [new TerserWebpackPlugin(), OptimizeCssAssetsPlugin()],
+ minimizer: [new TerserWebpackPlugin(), new OptimizeCssAssetsPlugin()],
},
devtool: isDev ? 'inline-source-map' : false,
};
| chore: add new constructor for OptimizeCssAssets | null | sprout2000/elephicon | MIT License | JavaScript |
@@ -22,6 +22,7 @@ fi
if [[ ! -d ./electron-build-tools ]]; then
git clone --single-branch --branch main https://github.com/electron/build-tools/ electron-build-tools
cd electron-build-tools
+ git checkout 926e1a2f2926b9a7663ae865c3bd9a1b1d366393
npm install
mkdir -p third_party
./src/e update-goma msftGoma
@@ -91,4 +92... | chore: workaround upstream electron-build-tools bug | null | microsoft/playwright | Apache License 2.0 | Shell |
@@ -174,12 +174,12 @@ public class TelemetryJob extends SynchronizedJob implements Closeable {
// we need to update the table to reflect that
if (enabled != _enabled || !configuration.getBuildInformation().getQuestDbVersion().equals(lastVersion)) {
appendConfigRow(compiler, configWriter, l256, enabled);
- LOG.info()
+ ... | chore(cairo): output telemetry log message as "advisory" to avoid false positive errors | null | questdb/questdb | Apache License 2.0 | Java |
@@ -8,10 +8,14 @@ echo "Deploying Playground for production GCP-EU"
yarn --cwd playground compile-html:gcp-eu
rm -rf playground/vercel-deployments/state-machines-gcp-eu/public
cp -R playground/public playground/vercel-deployments/state-machines-gcp-eu
-yarn --cwd playground/vercel-deployments/state-machines-gcp-eu run ... | chore: use npm run run vercel deploy command for playground apps | null | commercetools/merchant-center-application-kit | MIT License | Shell |
@@ -903,14 +903,14 @@ mod tests {
}
trait CountsExt {
- fn checked_removal(&mut self, key: &PathBuf, expected: usize);
+ fn checked_removal(&mut self, key: &Path, expected: usize);
}
impl CountsExt for HashMap<PathBuf, usize> {
- fn checked_removal(&mut self, key: &PathBuf, expected: usize) {
+ fn checked_removal(&mut ... | chore(clippy): prefer Path to PathBuf | null | rs-ipfs/rust-ipfs | Apache License 2.0 | Rust |
@@ -43,10 +43,6 @@ internal struct SessionRequest: APIRequest {
"visa": InstallmentOptions(monthValues: [3, 6, 9], includesRevolving: true)]
try container.encode(installmentOptions, forKey: .installmentOptions)
-
- // store payment method required fields
- try container.encode("askForConsent", forKey: .storePaymentMeth... | chore: remove v70 api parameters from sample app | null | adyen/adyen-ios | MIT License | Swift |
BUILD_PATH=Build-Temp
-xcodebuild clean -project Adyen.xcodeproj \
+xcodebuild clean \
+ -project Adyen.xcodeproj \
-scheme AdyenUIHost \
- -destination="generic/platform=iOS" \
- -sdk iphoneos \
- -configuration Release
mkdir -p $BUILD_PATH
-xcodebuild archive -project Adyen.xcodeproj \
+xcodebuild archive \
+ -projec... | chore: merge archive and exportArchive lanes | null | adyen/adyen-ios | MIT License | Shell |
-import React, { useEffect, useState } from 'react'
+import React from 'react'
import ReactSelect, { Props as ReactSelectProps } from 'react-select'
import { DropdownIndicator } from '../Dropdown/DropdownIndicator'
| chore(Select): Remove some unused imports | null | royal-navy/design-system | Apache License 2.0 | TypeScript |
@@ -51,13 +51,6 @@ Value setTimeout(JSContext &context, const Value &thisVal, const Value *args,
timerCallbackMap.set(callbackId, callbackValue);
- if (std::getenv("ENABLE_KRAKEN_JS_LOG") != nullptr &&
- strcmp(std::getenv("ENABLE_KRAKEN_JS_LOG"), "true") == 0) {
- KRAKEN_LOG(VERBOSE) << "[setTimeout]: "
- << "([\"setT... | chore: remove setTimeout log | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -34,7 +34,7 @@ const StateReportingAssessmentPage = ({ data }) => {
{state.name}
</Link>
</Td>
- <Td isFirst>
+ <Td alignLeft isFirst>
{assessment ? (
<Link
to={`/data/state/${state.childSlug.slug}/assessment#state-metrics`}
@@ -46,7 +46,7 @@ const StateReportingAssessmentPage = ({ data }) => {
)}
</Td>
- <Td>
+ <Td... | chore: left align table | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -84,7 +84,7 @@ const Collapse: CollapseInterface = props => {
openAnimation={openAnimation}
{...props}
bordered={bordered}
- expandIcon={(panelProps: PanelProps) => renderExpandIcon(panelProps)}
+ expandIcon={renderExpandIcon}
prefixCls={prefixCls}
className={collapseClassName}
/>
| chore: remove not need proxy-function in <Collapse /> | null | ant-design/ant-design | MIT License | TypeScript |
@@ -29,14 +29,16 @@ const handleAddressHashText = (hash: string) => {
if (isLargeMobile()) {
return startEndEllipsis(hash, 29)
}
- return startEndEllipsis(hash, 24)
+ return startEndEllipsis(hash, 18)
}
const TransactionCellHash = ({ cell }: { cell: State.InputOutput }) => {
return (
<TransactionCellHashPanel highLight... | chore: Fix address text for transaction-cell | null | nervosnetwork/ckb-explorer-frontend | MIT License | TypeScript |
@@ -85,9 +85,9 @@ ProcessResult ChordComposer::ProcessChordingKey(const KeyEvent& key_event) {
if (key_event.ctrl() || key_event.alt()) {
raw_sequence_.clear();
}
- if (key_event.ctrl() && !use_control_ ||
- key_event.alt() && !use_alt_ ||
- key_event.shift() && !use_shift_) {
+ if ((key_event.ctrl() && !use_control_) ... | chore(chord_composer): fix a warning | null | rime/librime | BSD 3-Clause New or Revised License | C++ |
@@ -115,13 +115,12 @@ bool MatchesFilterCondition(extensions::WebRequestInfo* info,
// to pass the original keys.
v8::Local<v8::Value> HttpResponseHeadersToV8(
net::HttpResponseHeaders* headers) {
- base::DictionaryValue response_headers;
+ base::Value::Dict response_headers;
if (headers) {
size_t iter = 0;
std::string... | chore: modernize base::Value usage in WebRequest | null | electron/electron | MIT License | C++ |
@@ -1030,11 +1030,7 @@ fn ffi_parse_pointer_arg(
type_error("Invalid FFI ArrayBufferView, expected data in the buffer")
})?
.get_backing_store();
- if byte_offset > 0 {
&backing_store[byte_offset..] as *const _ as *const u8
- } else {
- &backing_store[..] as *const _ as *const u8
- }
} else if let Ok(value) = v8::Local... | chore(ext/ffi): Remove unnecessary byte_offset conditional slicing | null | denoland/deno | MIT License | Rust |
+import { useEffect } from 'react';
import { delay, isNil } from 'lodash-es';
import { sortStates } from 'carbon-components-react/es/components/DataTable/state/sorting';
import fileDownload from 'js-file-download';
@@ -554,3 +555,27 @@ export const getMultiSelectItems = (column, filterValue) => {
return [];
};
+
+/**
+... | chore(utilityfunctions): add on click outside hook | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | JavaScript |
@@ -18,8 +18,6 @@ let packageContent;
const DEFAULT_PORT = 8080;
const DEFAULT_TAG = 'ui5-demo';
-const BETA_VER = "0.20.0";
-const RC_VER = "1.0.0-rc.7";
// from where all the files will be copied
const RESOURCES_DIR = path.join(`${__dirname}`, `resources/`);
@@ -102,11 +100,6 @@ const updatePackageFile = () => {
"pre... | chore: remove unnecessary package init code | null | sap/ui5-webcomponents | Apache License 2.0 | JavaScript |
# The checksum of this file is used as cache key in our integration toolchain
#
helm2_version=2.15.2
-helm3_version=3.2.0
+helm3_version=3.3.1
jq_version=1.6
ksonnet_version=0.13.1
kubectl_version=1.17.8
| chore: Update helm3 to 3.3.1 | null | argoproj/argo-cd | Apache License 2.0 | Shell |
@@ -725,6 +725,12 @@ const MQTTConnectivity = (): JSX.Element => {
<br/><br/>
If you're experiencing problems regarding MQTT, make sure to try Mosquitto since some other MQTT
brokers only implement a subset of the MQTT spec, which often leads to issues when used with Valetudo.
+
+ <br/><br/>
+ If you're using Mosq... | chore(ui): Add MQTT ACL info text | null | hypfer/valetudo | Apache License 2.0 | TypeScript |
@@ -18,7 +18,6 @@ class LoadingViewTests: XCTestCase {
super.setUp()
let contentView = UIView()
sut = LoadingView(contentView: contentView)
- sut.translatesAutoresizingMaskIntoConstraints = false
viewController = UIViewController()
viewController.view.addSubview(sut)
| chore: remove mask translation for sut | null | adyen/adyen-ios | MIT License | Swift |
+// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+// SPDX-License-Identifier: Apache-2.0
+
+package log
+
+import (
+ "fmt"
+ "strings"
+ "testing"
+
+ "github.com/stretchr/testify/require"
+)
+
+func TestLogger_Success(t *testing.T) {
+ // GIVEN
+ b := &strings.Builder{}
+ logger := New(b)
+
+ //... | chore(log): add Logger struct | null | aws/copilot-cli | Apache License 2.0 | Go |
@@ -309,6 +309,12 @@ class UpdateSearchCommand extends Command
}
}
+ if ($contentName === 'Item') {
+ if (isset($content['GameContentLinks']) && isset($content['GameContentLinks']['CollectablesShopItem'])) {
+ $content['GameContentLinks']['CollectablesShopItem'] = array_map( 'intval', $content['GameContentLinks']['Coll... | chore: hotfix for items search | null | xivapi/xivapi.com | MIT License | PHP |
@@ -46,26 +46,26 @@ func MacroService(
fn func(init func(MacroFields, *testing.T) (platform.MacroService, string, func()),
t *testing.T)
}{
- {
- name: "CreateMacro",
- fn: CreateMacro,
- },
- {
- name: "FindMacroByID",
- fn: FindMacroByID,
- },
+ // {
+ // name: "CreateMacro",
+ // fn: CreateMacro,
+ // },
+ // {
+ //... | chore(testing): find macros tests | null | influxdata/influxdb | MIT License | Go |
@@ -400,10 +400,11 @@ class CardComponentTests: XCTestCase {
apiContext: Dummy.context,
style: style)
+ // When
UIApplication.shared.keyWindow?.rootViewController = sut.viewController
wait(for: .seconds(1))
- // Given
+ // Then
let view: UIView = sut.viewController.view
let securityCodeItemView: FormCardSecurityCodeIte... | chore: Update test structure comments | null | adyen/adyen-ios | MIT License | Swift |
@@ -227,11 +227,11 @@ module.exports = function (grunt) {
"ts:release_build",
"shell:npm_test",
- "set_package_version",
"set_live_ga_id",
"verify_live_ga_id"
]);
grunt.registerTask("pack", [
+ "set_package_version",
"shell:build_package"
]);
grunt.registerTask("lint", ["tslint:build"]);
| chore: set version in grunt pack to not break package name | null | nativescript/nativescript-cli | Apache License 2.0 | JavaScript |
@@ -36,7 +36,8 @@ gr_mysql() {
mysql -u${GRAPHER_DB_USER} -p"${GRAPHER_DB_PASS}" -h $GRAPHER_DB_HOST --default-character-set=utf8mb4 "$@" 2>/dev/null
}
-DL_FOLDER="/tmp"
+DL_FOLDER="/tmp/$(whoami)"
+mkdir -p $DL_FOLDER
# Default options
WITH_UPLOADS=false
| chore: support multiple users in refresh staging script | null | owid/owid-grapher | MIT License | Shell |
@@ -83,4 +83,20 @@ class AffirmComponentTests: XCTestCase {
XCTAssertTrue(billingAddress != expectedDeliveryAddress)
XCTAssertEqual(deliveryAddress, expectedDeliveryAddress)
}
+
+ func testDeliveryAddressToggleItem_whenEnabled_shouldUnhideDeliveryAddressItem() throws {
+ // When
+ sut.deliveryAddressToggleItem.value = ... | chore: Test delivery address display logic | null | adyen/adyen-ios | MIT License | Swift |
#!/usr/bin/env bash
osascript -e 'launch application "Simulator"'
+xcrun simctl terminate booted com.bugsnag.iOSTestApp
xcrun simctl launch booted com.bugsnag.iOSTestApp \
"EVENT_TYPE=$EVENT_TYPE" \
"EVENT_DELAY=$EVENT_DELAY" \
| chore(maze): Terminate an existing instance of the app before launch | null | bugsnag/bugsnag-cocoa | MIT License | Shell |
@@ -31,7 +31,7 @@ use ruma::{
},
sticker::StickerEventContent,
AnyMessageLikeEventContent, AnyStateEventContent, AnySyncMessageLikeEvent,
- AnySyncTimelineEvent, BundledRelations, MessageLikeEventType, StateEventType,
+ AnySyncTimelineEvent, BundledRelations, EventContent, MessageLikeEventType, StateEventType,
},
serde... | chore(sdk): Add logging for when timeline events are not handled | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -60,17 +60,32 @@ module.exports = merge(common, {
publicPath: '/assets',
templateContent: () => {
let res;
- let maxTries = 24;
- do {
- if (maxTries <= 0) {
+
+ // TODO: accept this to be overwritten?
+ // that's useful for when running on a different port (when you are running multiple pyroscope versions locally)
... | chore(frontend): improve live reload server setup | null | pyroscope-io/pyroscope | Apache License 2.0 | TypeScript |
@@ -16,16 +16,16 @@ public struct AffirmDetails: PaymentMethodDetails, ShopperInformation {
public let type: String
/// The shopper's first and last name.
- public let shopperName: ShopperName
+ public let shopperName: ShopperName?
/// The shopper's telephone number.
- public let telephoneNumber: String
+ public let te... | chore: Make properties optionals | null | adyen/adyen-ios | MIT License | Swift |
@@ -298,7 +298,7 @@ impl Buffer {
}
[BodyNode::RawExpr(ref expr)] => {
// TODO: let rawexprs to be inlined
- get_expr_length(&expr.expr)
+ get_expr_length(expr)
}
[BodyNode::Element(ref el)] => {
let attr_len = self.is_short_attrs(&el.attributes);
@@ -309,10 +309,10 @@ impl Buffer {
if el.children.len() == 1 {
if let B... | chore: update with master | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -11,7 +11,7 @@ import (
)
// Auth authorize user
-func Auth(paths []string) gin.HandlerFunc {
+func Auth(paths ...string) gin.HandlerFunc {
return func(c *gin.Context) {
// ignore some path
// eg: register, login, logout
| chore: use slice ... to support no params | null | go-eagle/eagle | MIT License | Go |
@@ -91,7 +91,6 @@ impl ServiceInitializer for MempoolSyncInitializer {
while status_watch.changed().await.is_ok() {
log_mdc::extend(mdc.clone());
if status_watch.borrow().state_info.is_synced() {
- dbg!();
debug!(
target: LOG_TARGET,
"Initial sync is done. Starting mempool sync protocol"
| chore: remove dbg | null | tari-project/tari | BSD 3-Clause New or Revised License | Rust |
@@ -2,6 +2,7 @@ package main
import (
"bufio"
+ "errors"
"flag"
"fmt"
"os"
@@ -80,6 +81,11 @@ func checkout(ref string) error {
func testCurrentCommit(orbconfig string) error {
files, err := filepath.Glob("./cmd/chore/orbctl/*.go")
+
+ if len(files) <= 0 {
+ return errors.New("no files found in ./cmd/chore/orbctl/*.go"... | chore: check no orbctl chore binary | null | caos/orbos | Apache License 2.0 | Go |
#/bin/sh
if [ "$LANGUAGE" = "R" ]
-then fakechroot fakeroot chroot /app/.root /bin/sh -c '/usr/bin/R -f /app/run.R --gui-none --no-save'
+then R --file=run.R --gui-none --no-save
else gunicorn --preload index:server
fi
| chore: update web.sh for R buildpack | null | plotly/dash-docs | MIT License | Shell |
@@ -20,7 +20,7 @@ export default class extends Layout {
async _init() {
super._init();
- let path = this.get('path').replace('index.html', '');
+ let path = this.get('path').replace('index.html', '').replace('\\', '/');
path = path.slice(0, -1).replace(process.URL_PREFIX, '');
this.path = path;
| chore: for windows | null | ksc-fe/kpc | MIT License | JavaScript |
@@ -113,7 +113,7 @@ public abstract class VaadinWebSecurityConfigurerAdapter
VaadinAwareSecurityContextHolderStrategy.class.getName());
// Respond with 401 Unauthorized HTTP status code for unauthorized
- // requests for protected Fusion endpoints, so that the response could
+ // requests for protected Hilla endpoints,... | chore: Change Fusion to Hilla | null | vaadin/flow | Apache License 2.0 | Java |
// See the License for the specific language governing permissions and
// limitations under the License.
-#![deny(unused_crate_dependencies)]
-
use std::collections::BTreeMap;
use std::collections::HashMap;
use std::fmt::Debug;
@@ -23,7 +21,6 @@ use std::sync::Arc;
use common_ast::Dialect;
use common_base::base::Global... | chore(executor): remove settings futures executor block on | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -90,7 +90,7 @@ class LineTcpConnectionContext implements IOContext, Mutable {
complete = true;
} else {
LOG.error().$('[').$(fd).$("] could not parse measurement, code ").$(event.getErrorCode()).$(" at ").$(event.getErrorPosition()).$(" in ")
- .$(byteCharSequence.of(recvBufLineStart, recvBufLineNext - 1)).$();
+ .$... | chore(ilp): log more characters from TCP buffer | null | questdb/questdb | Apache License 2.0 | Java |
# The commit where the Rust `flatbuffers` crate version was changed to the version in `Cargo.lock`
# Update this, rerun this script, and check in the changes in the generated code when the
# `flatbuffers` crate version is updated.
-FB_COMMIT="86401e078d0746d2381735415f8c2dfe849f3f52"
+FB_COMMIT="261cf3b20473abdf95fc34d... | chore: update flatc sha | null | influxdata/influxdb_iox | Apache License 2.0 | Shell |
@@ -139,6 +139,9 @@ void ApplyQualitySettings(QualitySettings qualitySettings)
firstPersonCamera.m_Lens.FarClipPlane = qualitySettings.cameraDrawDistance;
}
+ RenderSettings.fogEndDistance = qualitySettings.cameraDrawDistance;
+ RenderSettings.fogStartDistance = qualitySettings.cameraDrawDistance * 0.8f;
+
ToggleFPSCap... | chore: bind fog distance to draw distance | null | decentraland/explorer | Apache License 2.0 | C# |
@@ -49,6 +49,7 @@ clusters:
enable_rbac: "true"
dynamodb_service_link_enabled: "false"
skipper_ingress_cpu: 100m
+ apiserver_proxy: "true"
criticality_level: 1
environment: e2e
id: ${CLUSTER_ID}
| chore: enable skipper-proxy in e2e tests | null | zalando-incubator/kubernetes-on-aws | MIT License | Shell |
@@ -31,7 +31,7 @@ allprojects {
version = "0.11.0"
}
-extra["smithyVersion"] = "[1.19.0,1.20.0["
+extra["smithyVersion"] = "[1.21.0,1.22.0["
// The root project doesn't produce a JAR.
tasks["jar"].enabled = false
| chore(codegen): update to Smithy 1.21.x | null | aws/aws-sdk-js-v3 | Apache License 2.0 | Kotlin |
@@ -290,14 +290,14 @@ namespace awkward {
const SliceItemPtr
None::asslice() const {
throw std::runtime_error(
- std::string("undefined opteration: None::asslice")
+ std::string("undefined operation: None::asslice")
+ FILENAME(__LINE__));
}
const ContentPtr
None::fillna(const ContentPtr& value) const {
throw std::runti... | chore: correct spelling of "operation" | null | scikit-hep/awkward-1.0 | BSD 3-Clause New or Revised License | C++ |
@@ -93,7 +93,11 @@ const StatePreamble = ({ state, covidState }) => {
</h3>
</DisclosureButton>
<DisclosurePanel>
- <DownloadData state={state} hideLabel />
+ <DownloadData
+ state={state}
+ slug={state.childSlug.slug}
+ hideLabel
+ />
</DisclosurePanel>
</Disclosure>
</div>
| chore: Add slug for state to preamble in mobile | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -44,13 +44,10 @@ public class ExceptionHandlerHelper {
if (exception instanceof ProcessEngineException) {
responseStatus = getStatus((ProcessEngineException)exception);
}
- else if (exception instanceof MigrationPlanValidationException
- || exception instanceof MigratingProcessInstanceValidationException
- || except... | chore(REST): remove duplicated check | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -10,7 +10,7 @@ pub fn services(cfg: &mut web::ServiceConfig) {
cfg.service(get_health).service(change_healthyness);
}
-#[get("/health", wrap = "Authentication::Private")]
+#[get("/health")]
async fn get_health(data: web::Data<Data>) -> Result<HttpResponse, ResponseError> {
let reader = data.db.main_read_txn()?;
if l... | chore(http): do not require auth on /health endpoint | null | meilisearch/meilisearch | MIT License | Rust |
@@ -142,8 +142,8 @@ export class ListrBaseRenderer implements ListrRenderer {
public static rendererOptions: Record<string, any>
public static rendererTaskOptions: Record<string, any>
public static nonTTY: boolean
- private tasks: ListrTaskObject<any, typeof ListrBaseRenderer>[]
- private options: typeof ListrBaseRende... | chore(interfaecs): band-aid fix on base renderer | null | cenk1cenk2/listr2 | MIT License | TypeScript |
@@ -77,12 +77,6 @@ config :logflare, Logflare.Cluster.Strategy.GoogleComputeEngine,
config :logflare, Logflare.Tracker, pool_size: 1
-config :logflare, Logflare.Vercel.Client,
- client_id: "oac_9AFs6dPQPFhy5xS1IOvc2xrf",
- client_secret: "mmDrqcJYuJeIxNX9AXbNqrhm",
- redirect_uri: "https://logflarestaging.com/install/v... | chore: remove staging.exs hardcoded secret | null | logflare/logflare | Apache License 2.0 | Elixir |
/* eslint-disable no-undef */
context('Create and delete consumer with limit-conn plugin form', () => {
- beforeEach(() => {
- cy.login();
-
- cy.fixture('selector.json').as('domSelector');
- cy.fixture('data.json').as('data');
- });
const selector = {
+ empty:'.ant-empty-normal',
+ username: '#username',
+ description... | chore: refactored test create-with-limit-conn-form | null | apache/apisix-dashboard | Apache License 2.0 | JavaScript |
@@ -3,7 +3,7 @@ import styled from 'styled-components'
export const FooterDiv = styled.div`
width: 100%;
overflow: hidden;
- background-color: #424242;
+ background-color: #040607;
display: flex;
flex-direction: column;
| chore: update footer background color | null | nervosnetwork/ckb-explorer-frontend | MIT License | TypeScript |
@@ -58,7 +58,7 @@ import Foundation
WXApi.registerApp(action.sdkData.appIdentifier, universalLink: WeChatPaySDKActionComponent.universalLink)
WXApi.send(PayReq(actionData: action.sdkData))
- delegate?.didOpenExternalApplication(self)
+ delegate?.didOpenExternalApplication(component: self)
}
/// Checks if the current de... | chore: fix for WeChat module | null | adyen/adyen-ios | MIT License | Swift |
@@ -209,8 +209,8 @@ if [[ "${LOCAL_FLAG}" = "true" ]]; then
# link may be publicly accessible. In manual builds this information is
# never useful (both are "none").
io::log_h1 "Log Links"
- printf "GCB: %s\n" "${CONSOLE_LOG_URL:-none}"
- printf "Raw: %s\n" "${RAW_LOG_URL:-none}"
+ printf "* GCB: %s\n" "${CONSOLE_LOG_U... | chore: log links are bulleted lines | null | googleapis/google-cloud-cpp | Apache License 2.0 | Shell |
@@ -920,12 +920,12 @@ def cast_name(column: str) -> str:
kwargs = {"string": column, "flags": re.IGNORECASE}
if "cast(" not in column.lower() and "::" not in column:
- if re.search(r"locate\(([^,]+),\s*([`\"]?name[`\"]?)\s*\)", **kwargs):
+ if re.search(r"locate\([^,]+,\s*[`\"]?name[`\"]?\s*\)", **kwargs):
return re.su... | chore: remove unnecessary groups from search regex in cast_name | null | frappe/frappe | MIT License | Python |
@@ -102,11 +102,11 @@ func (txr *TxReplicator) handleError(err error) (terminate bool) {
txr.consecutiveFailures++
- txr.logger.Infof("Replication error on database '%s' from '%s' (%d consecutive failures). Reason: %v",
+ txr.logger.Infof("Replication error on database '%s' from '%s' (%d consecutive failures). Reason: ... | chore(pkg/replication): improve replication logging | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -790,13 +790,6 @@ public class EnginePersistenceLogger extends ProcessEngineLogger {
failedOperation.toString());
}
- public void logTaskWithoutExecution(String taskId) {
- logDebug("091",
- "Execution of external task {} is null. This indicates that the task was concurrently completed or deleted. "
- + "It is not r... | chore(engine): adjust duplicated code in persistence logger | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -35,7 +35,7 @@ if [ "$#" -eq "0" ]; then
fi
if [[ "$1" == "dev-env" || "$1" == "build-env" ]]; then
- docker run -i mikefarah/yq:latest ".$1.tag" < $PROJECT_DIR/env-images.yaml
+ docker run -i --rm mikefarah/yq:4.24.5 ".$1.tag" < $PROJECT_DIR/env-images.yaml
exit 0
fi
| chore: use docker with --rm and certain yq image | null | chaos-mesh/chaos-mesh | Apache License 2.0 | Shell |
@@ -2,10 +2,6 @@ import { raiseError } from 'analytics'
import { GITEE_OAUTH } from 'env'
import { errors } from 'platforms'
-function apiRateLimitExceeded(content: any /* safe any */) {
- return content?.['documentation_url'] === 'https://developer.github.com/v3/#rate-limiting'
-}
-
function isEmptyProject(content: an... | chore: remove unused error resolution | null | enixcoda/gitako | MIT License | TypeScript |
@@ -20,6 +20,9 @@ public final class VoucherComponent: AnyVoucherActionHandler, ShareableComponent
/// :nodoc:
public let apiContext: APIContext
+ /// The Adyen context.
+ public let adyenContext: AdyenContext
+
/// Delegates `PresentableComponent`'s presentation.
public weak var presentationDelegate: PresentationDeleg... | chore: Inject AdyenContext in VoucherComponent | null | adyen/adyen-ios | MIT License | Swift |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.