diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -70,7 +70,7 @@ function articleAntibodies(): Promise<string | undefined> {
}
// Run each function
-EXAMPLES.forEach(ex => ex())
+Promise.all(EXAMPLES).catch(err => console.error(err))
// Generate `../examples/examples.ts`
fs.writeFileSync(
| chore(Lint): Handle the promises | null | stencila/stencila | Apache License 2.0 | TypeScript |
@@ -345,6 +345,11 @@ fi
log_debug "Detected OS '$os'"
+# disable package managers on macOS (their use would be most unexpected)
+if [ "$os" = "macos" ]; then
+ USE_PACKAGE_MANAGER=0
+fi
+
# identify arch
arch="unknown"
uname_machine=$(uname -m)
| chore: prevent install.sh package manager use on macOS | null | dopplerhq/cli | Apache License 2.0 | Shell |
@@ -117,7 +117,7 @@ class JsonLexer(val json: JsonSource) {
return when {
next.isWhitespace() -> {
val chars = mutableListOf(next)
- chars.addAll(consumeChars(Char::isWhitespace))
+ consumeChars(chars, Char::isWhitespace)
Ok(JsonToken.Whitespace(String(chars.toCharArray())))
}
next == '-' || next.isDigit() -> scanNumbe... | chore: small performance enhancement in JSON parser | null | pact-foundation/pact-jvm | Apache License 2.0 | Kotlin |
@@ -46,5 +46,5 @@ curl -s -u root: -XPOST "http://localhost:${QUERY_HTTP_HANDLER_PORT}/v1/query" -
echo "select * from sample" | $MYSQL_CLIENT_CONNECT
#
### Drop table.
-#echo "drop table sample" | $MYSQL_CLIENT_CONNECT
-#echo "drop stage if exists s1" | $MYSQL_CLIENT_CONNECT
+echo "drop table sample" | $MYSQL_CLIENT_C... | chore(query): fix insert_with_stage.sh | null | datafuselabs/databend | Apache License 2.0 | Shell |
@@ -5314,39 +5314,39 @@ declare namespace Cypress {
declare namespace Mocha {
interface TestFunction {
/**
- * Describe a specification or test-case with the given `title`, TestCptions, and callback `fn` acting
+ * Describe a specification or test-case with the given `title`, TestOptions, and callback `fn` acting
* as ... | chore: Fixes type definitions | null | cypress-io/cypress | MIT License | TypeScript |
@@ -15,7 +15,7 @@ internal enum ConfigurationConstants {
/// Please use your own web server between your app and adyen checkout API.
static let demoServerEnvironment = DemoServerEnvironment.test
- static let componentsEnvironment = Environment.test // Environment(baseURL: URL(string: "http://localhost:8080")!)
+ static... | chore: removed commented code in Configuration.swuft | null | adyen/adyen-ios | MIT License | Swift |
@@ -657,6 +657,52 @@ class CardComponentTests: XCTestCase {
wait(for: [expectation], timeout: 8)
}
+ func testSubmit() {
+ let method = CardPaymentMethod(type: "bcmc", name: "Test name", fundingSource: .credit, brands: ["visa", "amex", "mc"])
+ // Dummy public key
+ let cardPublicKey = "B8C0F|AF259DD02EC8BA094F293D89D2... | chore: increased CardComponentTests coverage | null | adyen/adyen-ios | MIT License | Swift |
@@ -167,14 +167,17 @@ Agent.prototype.start = function start(callback) {
if (agent.collector.isConnected() && !agent.config.no_immediate_harvest) {
// harvest immediately for quicker data display, but after at least 1
// second or the collector will throw away the data.
- setTimeout(function one_sec_delayed_harvest() {... | chore(agent): unref harvest timeout | null | newrelic/node-newrelic | Apache License 2.0 | JavaScript |
using System;
+using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
@@ -22,7 +23,8 @@ namespace MarketplaceSyncFunction
[Singleton]
[FunctionName("MarketplaceSync")]
public static async Task TimerTrigger(
- [TimerTrigger("0 0 * * * *", RunOnStartup = true)]TimerInfo timerInfo,
+ ... | chore: started to add sync workflow between database and git data | null | imgbot/imgbot | MIT License | C# |
@@ -5,7 +5,7 @@ git remote update
rc_sha="$1"
remote_name="$2"
-if [[ $rc_tag == "" ]]; then
+if [[ $rc_sha == "" ]]; then
echo "Please include the rc sha you wish to release as the first argument"
exit 1
fi
| chore: fix typo in release script to use correct var name | null | aws-amplify/amplify-cli | Apache License 2.0 | Shell |
@@ -27,7 +27,7 @@ import PackageDescription
let package = Package(
name: "MessageKit",
- platforms: [.iOS(.v12)],
+ platforms: [.iOS(.v13)],
products: [
.library(name: "MessageKit", targets: ["MessageKit"]),
],
| chore: Dropped iOS 12 support | null | messagekit/messagekit | MIT License | Swift |
@@ -53,5 +53,7 @@ if [[ -z "${IMAGE_PROMOTION_COMMAND}" ]]; then
else
echo "Triggering image promotion"
eval "${IMAGE_PROMOTION_COMMAND}" < deploy.json
- eval "${IMAGE_PROMOTION_COMMAND_K8S_IOX}" < deploy.json
+ eval "${IMAGE_PROMOTION_COMMAND_K8S_IOX}" < deploy.json || {
+ echo "experimental k8s_iox promotion failed"
... | chore: update .circleci/get-deploy-tags.sh | null | influxdata/influxdb_iox | Apache License 2.0 | Shell |
@@ -112,9 +112,9 @@ _EOF_
read_into_variable INSTALL_GOOGLE_CLOUD_CPP_COMMON_FROM_SOURCE <<'_EOF_'
WORKDIR /var/tmp/build
-RUN wget -q https://github.com/googleapis/google-cloud-cpp-common/archive/v0.16.0.tar.gz && \
- tar -xf v0.16.0.tar.gz && \
- cd google-cloud-cpp-common-0.16.0 && \
+RUN wget -q https://github.com/... | chore: release notes for v0.18.x (googleapis/google-cloud-cpp-common#155) | null | googleapis/google-cloud-cpp | Apache License 2.0 | Shell |
@@ -59,11 +59,11 @@ object DefaultPactWriter : PactWriter, KLogging() {
* @param pactSpecVersion Pact version to use to control writing
*/
override fun writePact(pact: Pact, writer: PrintWriter, pactSpecVersion: PactSpecVersion) : Result<Int, Throwable> {
- pact.sortInteractions()
val json = if (pactSpecVersion == Pact... | chore: correctly sort the interactions before writing | null | pact-foundation/pact-jvm | Apache License 2.0 | Kotlin |
@@ -89,7 +89,7 @@ pub struct UnlimitedMemGuard {
}
impl UnlimitedMemGuard {
- #[must_use]
+ #[allow(unused)]
pub(crate) fn enter_unlimited() -> Self {
let saved = UNLIMITED_FLAG.load(Ordering::Relaxed);
UNLIMITED_FLAG.store(true, Ordering::Relaxed);
| chore(base): make lint | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -22,7 +22,7 @@ export default class TagService {
return this.tagStore.getAll();
}
- async getTagsByType(type): Promise<ITag[]> {
+ async getTagsByType(type: string): Promise<ITag[]> {
return this.tagStore.getTagsByType(type);
}
| chore: type argument missing | null | unleash/unleash | Apache License 2.0 | TypeScript |
@@ -57,7 +57,7 @@ class FileController
$episode_asset_id = (int) $_REQUEST['episode_asset_id'];
if (!$episode_id || !$episode_asset_id) {
- die();
+ exit();
}
if (isset($_REQUEST['slug'])) {
@@ -75,8 +75,6 @@ class FileController
private static function simulate_temporary_episode_slug($slug)
{
- add_filter('podlove_fil... | chore: simplify podlove_file_url_template filter | null | podlove/podlove-publisher | MIT License | PHP |
+import 'dart:io';
+import 'dart:typed_data';
+import 'dart:ui';
+import 'dart:async';
+import 'package:path_provider/path_provider.dart';
+import 'package:flutter/foundation.dart';
+import 'package:flutter/painting.dart';
+
+class CachedNetworkImage extends ImageProvider<CachedNetworkImage> {
+
+ const CachedNetworkIm... | chore: rename fiel | null | openkraken/kraken | Apache License 2.0 | Dart |
-#!/usr/bin/env bash
+#!/bin/sh
+# Usage: sudo /install [<BINDIR>]
+#
+# Example:
+# 1. sudo /install /usr/local/bin
+# 2. sudo /install /bin
+#
+# Default BINDIR=/usr/bin
-set -eu -o pipefail
+set -euf
-if [[ ! -z ${DEBUG-} ]]; then
+if [ -n "${DEBUG-}" ]; then
set -x
fi
-: ${PREFIX:=/usr/local}
-BINDIR="$PREFIX/bin"
... | chore(scripts): make quick installer script POSIX sh compliant | null | profclems/glab | MIT License | Shell |
@@ -31,7 +31,9 @@ const StatisticGroup = ({ children }) => (
const DrillDown = ({ label, value }) => (
<div className={statisticStyles.drillDown}>
<span className={statisticStyles.label}>{label} </span>
- <span className={statisticStyles.value}>{value}</span>
+ <span className={statisticStyles.value}>
+ <FormatNumber n... | chore(drill-down): use FormatNumber, add space after label | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -211,7 +211,7 @@ public class ApplicationPageServiceCEImpl implements ApplicationPageServiceCE {
@Override
public Mono<PageDTO> getPage(String pageId, boolean viewMode) {
- AclPermission permission = viewMode ? pagePermission.getReadPermission() : pagePermission.getEditPermission();
+ AclPermission permission = page... | chore: use read permission to fetch pages in edit mode | null | appsmithorg/appsmith | Apache License 2.0 | Java |
@@ -16,7 +16,8 @@ import java.text.DecimalFormatSymbols
import java.util.*
object OsuUtil {
- suspend fun retrieveDiscordUserForOsuByArgsN(context: ICommandContext, index: Int): User? {
+
+ private suspend fun retrieveDiscordUserForOsuByArgsN(context: ICommandContext, index: Int): User? {
return when {
context.args.siz... | chore(OsuUtil): cleanup | null | toxicmushroom/melijn | MIT License | Kotlin |
'use strict';
var crypto = require('crypto');
+var StringDecoder = require('string_decoder').StringDecoder;
+var hexDecoder = new StringDecoder('hex');
+
var stackTrace = require('../util/stackTrace');
+const ZERO_PADDING = [
+ '000000000000000',
+ '00000000000000',
+ '0000000000000',
+ '000000000000',
+ '00000000000',... | chore(tracing): add utility functions for trace/span ID conversion | null | instana/nodejs-sensor | MIT License | JavaScript |
@@ -57,7 +57,7 @@ func indent(in string, indentation uint) string {
// any error with the same type as the supplied error.
//
// Use with testutil.Equal to handle error comparisons.
-func EqualErrorType(err error) equalErrorType {
+func EqualErrorType(err error) error {
return equalErrorType{
err: err,
}
@@ -86,7 +86,7... | chore: return exposed types from error matchers | null | kubernetes-sigs/cli-utils | Apache License 2.0 | Go |
@@ -110,6 +110,10 @@ func DualProofToProto(dualProof *store.DualProof) *DualProof {
}
func TxHeaderToProto(hdr *store.TxHeader) *TxHeader {
+ if hdr == nil {
+ return nil
+ }
+
return &TxHeader{
Id: hdr.ID,
PrevAlh: hdr.PrevAlh[:],
| chore(pkg/api): consider nil case during tx header serialization | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -165,6 +165,12 @@ class GameServers
'Mateus',
'Zalera'
],
+ 'Dynamis' => [
+ 'Halicarnassus',
+ 'Maduin',
+ 'Marilith',
+ 'Seraph'
+ ],
// EU
'Chaos' => [
| chore: new Dynamis NA datacenter | null | xivapi/xivapi.com | MIT License | PHP |
<li {{ $attributes->class([
'py-2 px-3 focus:outline-none transition-colors ease-in-out duration-50 relative group',
- 'cursor-pointer focus:bg-indigo-100 focus:text-indigo-800 hover:bg-indigo-600 hover:text-white' => !($readonly || $disabled),
+ 'cursor-pointer focus:bg-indigo-100 focus:text-indigo-800 hover:text-whit... | chore: add color on unselect option | null | wireui/wireui | MIT License | PHP |
@@ -7,14 +7,14 @@ class EksAnywhere < Formula
on_macos do
if Hardware::CPU.intel?
url "https://anywhere-assets.eks.amazonaws.com/releases/eks-a/1/artifacts/eks-a/v0.5.0/darwin/eksctl-anywhere-v0.5.0-darwin-amd64.tar.gz"
- sha256 "6280f406f5596df83e2b994f1279b0c4992559f29858d666c99e4f4e0043ba94"
+ sha256 "ed7790c706216b... | chore: fix eks-anywhere shas | null | aws/homebrew-tap | Apache License 2.0 | Ruby |
@@ -37,7 +37,7 @@ void falco::outputs::output_grpc::output(const message *msg)
falco::schema::source s = falco::schema::source::SYSCALL;
if(!falco::schema::source_Parse(msg->source, &s))
{
- throw falco_exception("Unknown source passed to output_grpc::output_event()");
+ throw falco_exception("Unknown source passed to ... | chore(userspace/falco): correct exception message | null | falcosecurity/falco | Apache License 2.0 | C++ |
@@ -507,7 +507,7 @@ module.exports = {
const childScopes = scope.childScopes;
let i, l;
- if (scope.type !== "TDZ" && (scope.type !== "global" || config.vars === "all")) {
+ if (scope.type !== "global" || config.vars === "all") {
for (i = 0, l = variables.length; i < l; ++i) {
const variable = variables[i];
| chore: Remove TDZ scope type condition from no-unused-vars | null | eslint/eslint | MIT License | JavaScript |
@@ -14,10 +14,11 @@ fn app(cx: Scope) -> Element {
r#type: "number",
value: "{level}",
oninput: |e| {
- let new_zoom = e.value.parse::<f64>().unwrap_or(1.0);
+ if let Ok(new_zoom) = e.value.parse::<f64>() {
level.set(new_zoom);
window.webview.zoom(new_zoom);
}
}
+ }
})
}
| chore: clean up zoom example | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
{
public static class ApplicationSettings
{
- public static string version = "0.5.0";
+ public static string version = "0.5.1";
}
public static class Environment
| chore: update build version to 0.5.1 | null | decentraland/explorer | Apache License 2.0 | C# |
SOURCE_BRANCH="master"
# Pull requests and commits to other branches shouldn't try to deploy, just build to verify
-if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_BRANCH" != "$SOURCE_BRANCH" ]; then
+if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_BRANCH" != "$SOURCE_BRANCH" -o "$TRAVIS_EVENT_TYPE" = "cron" ]; t... | chore: skip docs deploy at ci cron | null | eggjs/egg | MIT License | Shell |
@@ -47,7 +47,7 @@ class _MainScreenState extends State<_MainScreen> {
'details.';
final String DynamicLink = 'https://example/helloworld';
- final String Link = 'https://flutterfiretests.page.link/bFkn';
+ final String Link = 'https://flutterfiretests.page.link/MEGs';
@override
void initState() {
| chore(dynamic-link): update Dynamic link for example app, the previous is now used for test app | null | firebaseextended/flutterfire | BSD 3-Clause New or Revised License | Dart |
@@ -14,6 +14,8 @@ export interface Props extends BaseProps {
anchor?: AnchorType
/** Drawer content */
children: ReactNode
+ /** Disable the portal behavior. The children stay within it's parent DOM hierarchy. */
+ disablePortal?: boolean
/** Specify if the drawer is opened or not */
open: boolean
/** Specify the drawe... | chore: add disable portal option to the drawer | null | toptal/picasso | MIT License | TypeScript |
@@ -112,7 +112,7 @@ class Space(Cog):
@space.command(name="epic")
async def epic(self, ctx: Context, date: Optional[str]) -> None:
- """Get one of latest random image of earth from NASA EPIC API. Support date parameter, format is YYYY-MM-DD."""
+ """Get a random image of the Earth from the NASA EPIC API. Support date p... | chore: Improve .space epic's docstring | null | python-discord/sir-lancebot | MIT License | Python |
@@ -3,7 +3,7 @@ namespace DCL.Configuration
{
public static class ApplicationSettings
{
- public static float version = 0.2f;
+ public static float version = 0.3f;
}
public static class Environment
| chore: update build version to 0.3 | null | decentraland/explorer | Apache License 2.0 | C# |
@@ -227,6 +227,8 @@ public final class ACHDirectDebitComponent: PaymentComponent, PresentableCompone
return item
}()
+ // MARK: - Private
+
private lazy var formViewController: FormViewController = {
let formViewController = FormViewController(style: configuration.style)
formViewController.localizationParameters = conf... | chore: Send telemetry event on ACH DirectDebit component | null | adyen/adyen-ios | MIT License | Swift |
@@ -118,7 +118,7 @@ module.exports = (on, config) => {
fetchMetamaskWalletAddress: async () => {
return metamask.walletAddress();
},
- setupMetamask: async ({ secretWords, network, password }) => {
+ setupMetamask: async ({ secretWords, network = 'kovan', password }) => {
if (process.env.NETWORK_NAME) {
network = proce... | chore: set kovan as default network | null | synthetixio/synpress | MIT License | JavaScript |
@@ -747,7 +747,6 @@ class Linter {
constructor() {
this.messages = [];
this.currentConfig = null;
- this.currentScopes = null;
this.scopeManager = null;
this.currentFilename = null;
this.traverser = null;
@@ -766,7 +765,6 @@ class Linter {
reset() {
this.messages = [];
this.currentConfig = null;
- this.currentScopes = ... | chore: remove currentScopes property from Linter instances (refs | null | eslint/eslint | MIT License | JavaScript |
@@ -38,7 +38,7 @@ public struct BalanceChecker {
/// :nodoc:
/// The remaining amount in the balance after payment.
- /// it is at minimum zero when the whole available balance amount can be paid to cover part or all the amount to be paid.
+ /// it is at minimum zero when the whole available balance covers part or all ... | chore: small fix to BalanceChecker docs comment | null | adyen/adyen-ios | MIT License | Swift |
@@ -44,7 +44,7 @@ class BCMCComponentTests: XCTestCase {
DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + .seconds(1)) {
XCTAssertNotNil(sut.viewController.view.findView(with: "AdyenCard.FormCardNumberContainerItem.numberItem"))
XCTAssertNotNil(sut.viewController.view.findView(with: "AdyenCard.FormCardNumbe... | chore: fix rename | null | adyen/adyen-ios | MIT License | Swift |
@@ -85,7 +85,7 @@ export default class Blotter extends React.Component<BlotterProps, {}> {
<DateCell
width={props.width}
dateValue={trades[props.rowIndex].tradeDate}
- classname={getCellClassName(trades[props.rowIndex].status, "Value date")}
+ classname={getCellClassName(trades[props.rowIndex].status, 'Value date')}
/>... | chore: fix blotter not showing blue highlight | null | adaptiveconsulting/reactivetradercloud | Apache License 2.0 | TypeScript |
@@ -17,7 +17,11 @@ namespace OwenIt\Auditing\Tests;
use Orchestra\Database\ConsoleServiceProvider;
use Orchestra\Testbench\TestCase;
use OwenIt\Auditing\AuditingServiceProvider;
+use OwenIt\Auditing\Resolvers\IpAddressResolver;
+use OwenIt\Auditing\Resolvers\UrlResolver;
+use OwenIt\Auditing\Resolvers\UserAgentResolver... | chore(Tests): register resolvers | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -14,14 +14,14 @@ const Infobox = ({ layer, facility, x, y }) => (
>
<h3>{facility.hospital_name}</h3>
- {layer === 'patients' && (
- <>
- {facility.anomaly_flag_inpt && (
+ {(facility.anomaly_flag_inpt || facility.anomaly_flag_icu) && (
<div className={infoboxStyle.alert}>
<img src={alertBang} aria-hidden alt="" />
... | chore: Cleanup anomaly lable in infobox | null | covid19tracking/website | Apache License 2.0 | JavaScript |
package schema
import (
+ "encoding/json"
"fmt"
"io/ioutil"
"os"
@@ -9,10 +10,6 @@ import (
"strings"
"testing"
- "encoding/json"
-
- metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
-
"github.com/coreos/go-semver/semver"
"github.com/ghodss/yaml"
"github.com/operator-framework/operator-lifecycle-manager/pkg/api/apis/insta... | chore(catalog_versions): remove extra lines in import | null | operator-framework/operator-lifecycle-manager | Apache License 2.0 | Go |
@@ -39,6 +39,7 @@ import com.netflix.conductor.core.execution.ApplicationException;
import com.netflix.conductor.core.execution.ApplicationException.Code;
import com.netflix.conductor.dao.MetadataDAO;
import com.netflix.conductor.metrics.Monitors;
+import org.apache.commons.lang.StringUtils;
@Singleton
@Trace
@@ -219,8... | chore(workflow): improved validation and error message | null | netflix/conductor | Apache License 2.0 | Java |
@@ -194,7 +194,7 @@ pub enum SecretType {
#[n(2)] Aes,
/// Curve 22519 key
#[n(3)] X25519,
- /// Curve 22519 key
+ /// Ed 22519 key
#[n(4)] Ed25519,
/// NIST P-256 key
#[n(5)] NistP256
| chore(rust): fix typo | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -46,11 +46,13 @@ var Controller = ['$scope', 'page', 'UserResource', 'Notifications', '$location'
UserResource.createUser(user).$promise.then(function() {
Notifications.addMessage({ type: 'success', status: $translate.instant('NOTIFICATIONS_STATUS_SUCCESS'), message: $translate.instant('USERS_CREATE_SUCCESS', {user:... | chore(admin): make error notification exclusive on user creation | null | camunda/camunda-bpm-platform | Apache License 2.0 | JavaScript |
-import { Component } from 'react';
+import { useState } from 'react';
import PropTypes from 'prop-types';
-import { reduxForm } from 'redux-form';
import { injectIntl, intlShape, FormattedMessage } from 'react-intl';
import { Button, Card } from '@mui/material';
import history from 'lib/history';
-
-/* eslint-disable ... | chore(submission empty form): remove redux form and convert form to functional component | null | coursemology/coursemology2 | MIT License | JavaScript |
@@ -237,7 +237,7 @@ export default class StaticToolbar extends React.PureComponent {
};
return (
<Fragment>
- <ToolbarDecoration {...props} {...context}>
+ <ToolbarDecoration {...props} {...(this.ToolbarDecoration ? context : {})}>
{this.renderToolbarContent({ ...childrenProps, ...context })}
{ExtendContent && (
<div c... | chore(StaticToolbar.jsx): remove warnings by passing 'div' conetxt props | null | wix/ricos | MIT License | JavaScript |
@@ -459,7 +459,7 @@ export enum PieceLifespan {
/** The Piece will only exist in it's designated Rundown. It will begin playing when taken and will stop when the
* playhead leaves the Rundown */
OutOnRundownChange = 'rundown-change',
- /** The Piece will only exist in it's designated Segment. It will begin playing when... | chore: wrong word used in code comment | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -712,7 +712,7 @@ class Conductor:
LOGGER.warning("Cannot queue message for delivery, no supported transport")
return self.handle_not_delivered(profile, outbound)
- async def handle_not_delivered(
+ def handle_not_delivered(
self, profile: Profile, outbound: OutboundMessage
) -> OutboundSendStatus:
"""Handle a messag... | chore: final un-asyncification | null | hyperledger/aries-cloudagent-python | Apache License 2.0 | Python |
@@ -259,11 +259,7 @@ defmodule Ash.Dsl do
end
def is?(module, type) when is_atom(module) do
- if function_exported?(module, :ash_is, 0) do
- module.ash_is() == type
- else
- false
- end
+ function_exported?(module, :ash_is, 0) && module.ash_is() == type
end
def is?(_module, _type), do: false
| chore: simplify `is?/2` | null | ash-project/ash | MIT License | Elixir |
@@ -245,7 +245,7 @@ func (t testAuth) SignUp(ctx context.Context) (UserInfo, error) {
// Can be used only with testing server. Will perform sign up if test user is
// not registered.
func TestAuth(randReader io.Reader, dc int) UserAuthenticator {
- // 99966XYYYY, X = dc_id, Y = random numbers, code = X repeat 5.
+ // 9... | chore: update test DC code length in comment | null | gotd/td | MIT License | Go |
@@ -127,8 +127,8 @@ export function openFile(file: string, position: PointLike | null | undefined) {
}
export function visitMessage(message: LinterMessage, reference = false) {
- let messageFile: string
- let messagePosition: Point
+ let messageFile: string | undefined | null
+ let messagePosition: Point | undefined
if... | chore: fix visitMessage types | null | steelbrain/linter-ui-default | MIT License | TypeScript |
@@ -33,7 +33,7 @@ class AffirmComponentTests: XCTestCase {
try super.tearDownWithError()
}
- func testInit_shouldPaymentMethodTypeBeAffirm() {
+ func testComponent_shouldPaymentMethodTypeBeAffirm() throws {
// Given
let expectedPaymentMethodType: PaymentMethodType = .affirm
@@ -42,6 +42,11 @@ class AffirmComponentTests... | chore: Test Affirm component requires modal presentation | null | adyen/adyen-ios | MIT License | Swift |
@@ -59,7 +59,7 @@ impl ConnectorError {
)),
ErrorKind::QueryInvalidInput(message) => Some(KnownError::new(
user_facing_errors::query_engine::DatabaseAssertionViolation {
- database_error: format!("{}", message),
+ database_error: message.to_owned(),
},
)),
ErrorKind::UnsupportedFeature(feature) => {
| chore: fixed clippy? | null | prisma/prisma-engines | Apache License 2.0 | Rust |
@@ -149,17 +149,17 @@ public class HistoricProcessInstanceQueryTest extends PluggableFlowableTestCase
assertThat(historyService.createHistoricProcessInstanceQuery().activeActivityId("task1").singleResult().getId()).isEqualTo(processInstance2.getId());
assertThat(historyService.createHistoricProcessInstanceQuery().activ... | chore: explicit type can be replaced with <> | null | flowable/flowable-engine | Apache License 2.0 | Java |
@@ -367,7 +367,7 @@ func (b *cmdTemplateBuilder) cmdExport() *cobra.Command {
cmd.Flags().StringVar(&b.exportOpts.labelNames, "label-names", "", "List of label names comma separated")
cmd.Flags().StringVar(&b.exportOpts.ruleNames, "rule-names", "", "List of notification rule names comma separated")
cmd.Flags().StringVa... | chore: fix typo in cli flag | null | influxdata/influxdb | MIT License | Go |
@@ -5,7 +5,6 @@ import me.melijn.melijnbot.Container
import me.melijn.melijnbot.internals.models.PodInfo
import me.melijn.melijnbot.internals.services.Service
import me.melijn.melijnbot.internals.threading.RunnableTask
-import me.melijn.melijnbot.internals.threading.TaskManager
import me.melijn.melijnbot.internals.web.... | chore: turn off manual ratelimit checks and event blocking | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -24,7 +24,7 @@ export class UserInventory extends DataWithPermissions {
updateInventorySlot(packet: any, lastSpawnedRetainer: string): InventoryPatch | null {
const isRetainer = packet.containerId >= 10000 && packet.containerId < 20000;
const containerKey = isRetainer ? `${lastSpawnedRetainer}:${packet.containerId}`... | chore: fix for autofill on empty slot | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
import * as path from 'path';
-import { Package, Context } from '../@types/custom';
+import { Context } from '../@types/custom';
import { debug, execa, packageTask } from '../lib/utils';
const inquirer = require('listr-inquirer'); // `require` used because `listr-inquirer` exports a function
-const buildForRelease = as... | chore: Remove redundant build for release step | null | webhintio/hint | Apache License 2.0 | TypeScript |
@@ -10,8 +10,7 @@ $rules = [
'array_indentation' => true,
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => [
- 'default' => 'align_single_space',
- 'operators' => ['=>' => 'align_single_space_minimal'],
+ 'default' => 'align_single_space_minimal',
],
'blank_line_after_namespace' => true,
'blank_line... | chore: fix the phpcs fixer alignment | null | wireui/wireui | MIT License | PHP |
@@ -72,33 +72,33 @@ extension VoucherComponent: VoucherViewDelegate {
message: nil,
preferredStyle: .actionSheet
)
- getAlertActions(for: action.anyAction, sourceView: sourceView).forEach { alert.addAction($0) }
+ createAlertActions(for: action.anyAction, sourceView: sourceView).forEach { alert.addAction($0) }
presente... | chore: renamed the getXXX functions to createXXX in VoucherComponentExtensions | null | adyen/adyen-ios | MIT License | Swift |
@@ -134,6 +134,16 @@ public interface ConceptSearchRequestEvaluator {
*/
Concepts evaluate(ResourceURI uri, ServiceProvider context, Options search);
+ /**
+ * Subclasses may optionally use this method to initialize the common concept model from their tooling specific model.
+ *
+ * @param codeSystem
+ * @param concept... | chore(core): add support for mapping extra tooling fields to common.. | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
{
public static class ApplicationSettings
{
- public static string version = "0.6.1";
+ public static string version = "0.6.2";
}
public static class Environment
| chore: update build version to v0.6.2 | null | decentraland/explorer | Apache License 2.0 | C# |
@@ -103,7 +103,7 @@ async fn test_constant_folding_optimizer() -> Result<()> {
query: "SELECT typeof('1234567890')",
expect: "\
Projection: typeof('1234567890'):String\
- \n Expression: String:String (Before Projection)\
+ \n Expression: VARCHAR:String (Before Projection)\
\n ReadDataSource: scan schema: [dummy:UInt8],... | chore(test): fix typeof unit test | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -28,7 +28,8 @@ public interface EventSubscriptionQuery extends Query<EventSubscriptionQuery, Ev
EventSubscriptionQuery eventName(String eventName);
/** Only select subscriptions for events with the given type. "message" selects message event subscriptions,
- * "signal" selects signal event subscriptions, "compensati... | chore(engine): add "conditional" to java doc | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -90,7 +90,8 @@ class Input extends FormComponent
protected function getDefaultColorClasses(): string
{
- return Str::of('placeholder-secondary-400 dark:bg-secondary-800')
+ return Str::of('placeholder-secondary-400 dark:bg-secondary-800 dark:text-secondary-400')
+ ->append(' dark:placeholder-secondary-500')
->unless... | chore: change placeholder color on dark mode | null | wireui/wireui | MIT License | PHP |
@@ -325,7 +325,7 @@ module.exports = {
pagePerSection: true,
showCode: true,
showUsage: true,
- serverPort: 4040,
+ serverPort: Number(process.env.PORT),
assetsDir: "styleguide/src/assets/",
template: "styleguide/src/index.html"
// handlers(componentPath) {
| chore: un-do port change | null | reactioncommerce/reaction-component-library | Apache License 2.0 | JavaScript |
@@ -216,7 +216,7 @@ type FirewallLogConfig struct {
}
// A FirewallObservation represents the observed state of a Google Compute Engine
-// VPC Network.
+// Firewall rule.
type FirewallObservation struct {
// CreationTimestamp: Creation timestamp in RFC3339 text
// format.
| chore(firewall/types): update doc comment for firewall observation | null | crossplane/provider-gcp | Apache License 2.0 | Go |
@@ -20,9 +20,13 @@ import org.camunda.bpm.engine.ProcessEngineConfiguration;
import org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl;
import org.camunda.bpm.engine.impl.cfg.TransactionListener;
import org.camunda.bpm.engine.impl.cfg.TransactionState;
+import org.camunda.bpm.engine.impl.db.sql.DbSqlSession... | chore(engine): exclude h2, mariadb and isolation not read committed | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -63,8 +63,12 @@ class DependenciesTool:
packages_info = list(search_packages_info([package_name]))
if len(packages_info) == 0:
raise Exception(f"package {package_name} not found")
+ if isinstance(packages_info[0], dict):
files = packages_info[0]["files"]
location = packages_info[0]["location"]
+ else:
+ files = pack... | chore: fix broken script | null | fetchai/agents-aea | Apache License 2.0 | Python |
import requests
from datetime import timedelta
+
from django.utils import timezone
+
from allauth.socialaccount import app_settings
-from allauth.socialaccount.models import SocialLogin, SocialToken
+from allauth.socialaccount.models import SocialToken
from allauth.socialaccount.providers.oauth2.views import (
OAuth2Ad... | chore(line): Dropped unused import | null | pennersr/django-allauth | MIT License | Python |
@@ -455,6 +455,8 @@ ProjectAutoComplete.prototype.setProjectBullet = function (pid, tid, el) {
let task;
+ console.log(pid, tid, el, elem);
+
if (!!pid || pid === '0') {
project = this.el.querySelector("li[data-pid='" + pid + "']");
if (project) {
@@ -472,6 +474,9 @@ ProjectAutoComplete.prototype.setProjectBullet = fun... | chore(popup): Ensure project selector color is correct with no project selected | null | toggl/track-extension | Apache License 2.0 | JavaScript |
#!/bin/bash
flutter config --no-analytics
-flutter pub global activate melos 0.4.0-dev.2
+flutter pub global activate melos
echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH
echo "$GITHUB_WORKSPACE/_flutter/.pub-cache/bin" >> $GITHUB_PATH
echo "$GITHUB_WORKSPACE/_flutter/bin/cache/dart-sdk/bin" >> $GITHUB_PATH
| chore: no melos version install | null | firebaseextended/flutterfire | BSD 3-Clause New or Revised License | Shell |
@@ -20,7 +20,7 @@ namespace PlaywrightSharp.Tests.Helpers
{
try
{
- _output.WriteLine(state.ToString());
+ _output.WriteLine($"{DateTime.Now:yyyy-MM-dd HH:mm:ss.fff}: {state}");
}
catch { }
}
| chore(tests): add timestamp to test logs | null | microsoft/playwright-dotnet | MIT License | C# |
-#!/usr/bin/env bash
-# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE
-
-set -e
-
-rm -rf build dist
-mkdir build
-mkdir build/awkward1
-
-cat > build/awkward1/__init__.py << EOF
-# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE
-
-from __fu... | chore: remove `dev/build-awkward.sh` | null | scikit-hep/awkward-1.0 | BSD 3-Clause New or Revised License | Shell |
@@ -140,7 +140,7 @@ module.exports = function(grunt) {
"themes/notadd/images/**",
"themes/notadd/fonts/**",
"dialogs/**",
- "lang/**",
+ "i18n/**",
"third-party/**"
],
dest: disDir
| chore: Fixed build i18n path using lang name | null | notadd/neditor | MIT License | JavaScript |
+import argparse
+import csv
+from pymongo import MongoClient
+
+
+parser = argparse.ArgumentParser(description='Query for dataset owner information')
+parser.add_argument('--uri', help='MongoDB URI', type=str, required=True)
+args = parser.parse_args()
+
+def run_aggregate(uri):
+ client = MongoClient(uri)
+ result = ... | chore: Add script for querying dataset owner information | null | openneuroorg/openneuro | MIT License | Python |
@@ -46,7 +46,7 @@ const prometheusMetricsMiddleware = createPrometheusMetricsMiddleware({
/**
* NOTE:
* We do not need to know the path. It is only the index.html
- * for this service. As it is public facing attackers can "scape"
+ * for this service. As it is public facing attackers can "scrape"
* any url causing an u... | chore(http-proxy-server): remove path from metrics | null | commercetools/merchant-center-application-kit | MIT License | JavaScript |
import { DtChartOptions } from './chart';
import { Colors } from '../theming/colors';
import { AxisOptions } from 'highcharts';
+
+/** Extend browser native Math object for highcharts easing function */
(Math as any).easeInOutExpo= function(pos) {
if(pos === 0) return 0;
if(pos === 1) return 1;
| chore(chart): Doc and formating | null | dynatrace-oss/barista | Apache License 2.0 | TypeScript |
@@ -46,6 +46,7 @@ async def api_charge_create(
**{"paid": charge.paid},
}
except Exception as ex:
+ logger.debug(ex)
raise HTTPException(
status_code=HTTPStatus.INTERNAL_SERVER_ERROR, detail=str(ex)
)
| chore: log error in debug mode | null | lnbits/lnbits | MIT License | Python |
+if [ ! -d "./server" ]; then
+ echo "This command needs to invoked on the root level"
+ exit
+fi
+
+# run the build
+echo "Running build"
+(cd ./firebase; firebase use machinelabs-staging && firebase deploy)
+
| chore: add deploy script for firebase | null | machinelabs/machinelabs | MIT License | Shell |
@@ -11,11 +11,26 @@ import XCTest
class StoredPaymentMethodComponentTests: XCTestCase {
+ private var analyticsProviderMock: AnalyticsProviderMock!
+ private var adyenContext: AdyenContext!
+
+ override func setUpWithError() throws {
+ try super.setUpWithError()
+ analyticsProviderMock = AnalyticsProviderMock()
+ adyen... | chore: Test stored payment component sends telemetry event on load | null | adyen/adyen-ios | MIT License | Swift |
@@ -445,8 +445,6 @@ class Element extends Node
scrollingElement = null;
}
- assert(renderBoxModel == null);
- // assert(renderBoxModel != null && renderBoxModel.parent == null);
// Remove native reference.
_nativeMap.remove(nativeElementPtr.address);
}
| chore: remove assertion | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -59,6 +59,9 @@ func (h *HomedirServiceMock) ReadFileFromUserHomeDir(pathToFile string) (string,
return string(h.token), nil
}
+func NewDefaultClientTest() *clientTest {
+ return &clientTest{}
+}
func NewClientTest(pr helper.PasswordReader, hds client.HomedirService) *clientTest {
return &clientTest{
Hds: hds,
| chore: add empty clientTest constructor | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -5,8 +5,17 @@ Methods to expose the event types and generate the event jsons for use in SAM CL
import os
import json
import base64
+import warnings
from requests.utils import quote as url_quote
+
+with warnings.catch_warnings():
+ # https://github.com/aws/aws-sam-cli/issues/2381
+ # chevron intentionally has a code ... | chore: Suppress SyntaxWarning caused by chevron on Windows | null | aws/aws-sam-cli | Apache License 2.0 | Python |
@@ -159,7 +159,7 @@ func (b *benchmark) Warmup() error {
return err
}
- defer os.RemoveAll(primaryPath)
+ defer os.RemoveAll(replicaPath)
replicaServerOptions := server.
DefaultOptions().
| chore(test/performance-test-suite): fix replica directory path | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -17,6 +17,29 @@ public extension AdyenScope where Base == TimeInterval {
/// Transform `TimeInterval` to a `String` with either "MM:SS" or "HH:MM:SS" depending
/// on whether number of full hours is bigger than 0
func timeLeftString() -> String? {
+ if #available(iOS 13.0, *) {
+ return postIOS13TimeString()
+ } els... | chore: Fix failing testTimeLeftLessMore60Min on iOS <13 | null | adyen/adyen-ios | MIT License | Swift |
@@ -68,6 +68,7 @@ export const generateOwnershipWallet = (ship, ticket) =>
export const generateTemporaryTicketAndWallet = async point => {
const ticket = await makeTicket(point);
+ // ~zod is used as a constant here
const owner = await generateOwnershipWallet(0, ticket);
return { ticket, owner };
| chore: add comment explaining why zod is a constant for tmp wallets | null | urbit/bridge | MIT License | JavaScript |
@@ -11,7 +11,9 @@ import Adyen
#if canImport(AdyenComponents)
import AdyenComponents
#endif
+#if canImport(AdyenActions)
import AdyenActions
+#endif
import Foundation
import PassKit
| chore: fixes cocoaoPods integration | null | adyen/adyen-ios | MIT License | Swift |
@@ -374,7 +374,7 @@ func UpdateProject(host string, verifyTLS bool, apiKey string, project string, n
return projectInfo, Error{}
}
-// DeleteProject create a project
+// DeleteProject delete a project
func DeleteProject(host string, verifyTLS bool, apiKey string, project string) Error {
var params []queryParam
params =... | chore: fix invalid comment | null | dopplerhq/cli | Apache License 2.0 | Go |
@@ -47,6 +47,7 @@ case ${JOB_TYPE} in
-Dcheckstyle.skip=true \
-Dflatten.skip=true \
-Danimal.sniffer.skip=true \
+ -Dmaven.wagon.http.retryHandler.count=5 \
-T 1C \
test
RETURN_CODE=$?
@@ -74,6 +75,7 @@ case ${JOB_TYPE} in
-Danimal.sniffer.skip=true \
-Djacoco.skip=true \
-DskipUnitTests=true \
+ -Dmaven.wagon.http.re... | chore: add maven dependency retry | null | googleapis/google-cloud-java | Apache License 2.0 | Shell |
@@ -252,6 +252,7 @@ public abstract class SnomedConstants {
public static final String REFSET_WAS_A_ASSOCIATION = "900000000000528000";
// introduced in 2022-01-31
public static final String REFSET_PARTIALLY_EQUIVALENT_TO_ASSOCIATION = "1186924009";
+ public static final String REFSET_POSSIBLY_REPLACED_BY_ASSOCIATION =... | chore(snomed): add POSSIBLY_REPLACED_BY refset id to constants | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -160,7 +160,7 @@ public class CoreModuleConfig extends ModuleConfig {
@Getter
@Setter
- private boolean enableEndpointNameGroupingByOpenapi = false;
+ private boolean enableEndpointNameGroupingByOpenapi = true;
public CoreModuleConfig() {
this.downsampling = new ArrayList<>();
| chore: set openAPI grouping CoreModuleConfig default value consistent with application.yaml, add re-benchmark result | null | apache/skywalking | Apache License 2.0 | Java |
@@ -421,10 +421,9 @@ class RenderFlowLayout extends RenderLayoutBox {
RenderBox? child = firstChild;
- // Layout non positioned element
- _layoutChildren();
-
- // Layout positioned element
+ // Need to layout out of flow positioned element before normal flow element
+ // cause the size of RenderPositionPlaceholder in ... | chore: clean flex layout logic | null | openkraken/kraken | Apache License 2.0 | Dart |
+/**
+ * Copyright 2020 Opstrace, Inc.
+ *
+ * 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 ... | chore: add lib/src/httpclient.ts | null | opstrace/opstrace | Apache License 2.0 | TypeScript |
@@ -10,6 +10,8 @@ import (
"github.com/iotaledger/hive.go/core/logger"
"github.com/iotaledger/wasp/packages/chain"
"github.com/iotaledger/wasp/packages/isc"
+ "github.com/iotaledger/wasp/packages/kv"
+ "github.com/iotaledger/wasp/packages/kv/subrealm"
"github.com/iotaledger/wasp/packages/state"
"github.com/iotaledger/w... | fix: publisher plugin query blockInfo from correct state partition | null | iotaledger/wasp | Apache License 2.0 | Go |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.