diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -164,10 +164,8 @@ func (p *postRendererArgsSlice) Type() string { } func (p *postRendererArgsSlice) Set(val string) error { - if val == "" { - return nil - } + // a post-renderer defined by a user may accept empty arguments p.options.args = append(p.options.args, val) if p.options.binaryPath == "" {
fix: support empty args with --post-renderer-args
null
helm/helm
Apache License 2.0
Go
@@ -24,8 +24,7 @@ defmodule Ash.Actions.Helpers do private: %{ actor: actor } - } - when not is_nil(actor) -> + } -> Keyword.put_new(opts, :actor, actor) _ -> @@ -38,8 +37,7 @@ defmodule Ash.Actions.Helpers do private: %{ authorize?: authorize? } - } - when is_boolean(authorize?) -> + } -> Keyword.put_new(opts, :author...
fix: persist a nil actor properly
null
ash-project/ash
MIT License
Elixir
@@ -25,18 +25,11 @@ function getNextBin() { let nextMainFragment = nextPackageJson.main.substring(1); let nextBinFragment = nextPackageJson.bin.next; - console.log('nextPath', nextPath); - console.log('nextMainFragment', nextMainFragment); - console.log('nextBinFragment', nextBinFragment); - if (process.platform === 'w...
fix: Remove console logs
null
lowdefy/lowdefy
Apache License 2.0
JavaScript
@@ -3,7 +3,12 @@ import {Path} from '@sanity/types' import {ReactEditor} from '@sanity/slate-react' import {DOMNode} from '@sanity/slate-react/dist/utils/dom' import {Type} from '../../types/schema' -import {PortableTextBlock, PortableTextChild, PortableTextFeatures} from '../../types/portableText' +import { + Portable...
fix(portable-text-editor): make a default selection when focusing
null
sanity-io/sanity
MIT License
TypeScript
@@ -18,6 +18,7 @@ import ( "github.com/influxdata/influxdb/authorizer" "github.com/influxdata/influxdb/bolt" "github.com/influxdata/influxdb/chronograf/server" + "github.com/influxdata/influxdb/cmd/influxd/inspect" "github.com/influxdata/influxdb/gather" "github.com/influxdata/influxdb/http" "github.com/influxdata/infl...
fix(launcher): print inspect as a subcommand when running with --help flag
null
influxdata/influxdb
MIT License
Go
defmodule Timex.Translator do import Timex.Gettext + defmacro with_locale(locale, do: block) do + quote do + Gettext.with_locale(Timex.Gettext, unquote(locale), fn -> unquote(block) end) + end + end + @doc """ Translates a string for a given locale and domain.
fix: alias translator.with_locale to gettext
null
bitwalker/timex
MIT License
Elixir
@@ -85,17 +85,29 @@ const Label = ({ </div> {icon} </div> - <CSSMotion visible={showFeedback} motionName="show-help" motionAppear removeOnLeave> - {({ className: motionClassName }) => ( - <div className={classNames(feedbackClassName, motionClassName)}> + {(showFeedback || showExtra) && ( + <CSSMotion + visible={showFee...
fix: Fix extra bouncing when changing from displaying feedback to displaying extra
null
lowdefy/lowdefy
Apache License 2.0
JavaScript
@@ -130,7 +130,7 @@ class Item extends ManualHelper if (isset($item->ItemAction) && in_array($item->ItemAction->Type, $bonusActions)) { $food = Redis::cache()->get("xiv_ItemFood_{$item->ItemAction->Data1}"); $item->Bonuses = new stdClass; - for ($i = 0; $i < 2; $i++) { + for ($i = 0; $i < 3; $i++) { $bonusEntry = new s...
fix(search): fixed an issue with third bonus not taken into account
null
xivapi/xivapi.com
MIT License
PHP
@@ -579,9 +579,9 @@ func silences(c *gin.Context) { if searchTerm != "" { upstreams := getUpstreams() for _, u := range upstreams.Instances { - if strings.ToLower(u.Name) == searchTerm { + if strings.ToLower(u.Name) == searchTerm || strings.ToLower(u.Cluster) == searchTerm { if !slices.StringInSlice(clusters, u.Cluster...
fix(api): fix case handling in /silences.json
null
prymitive/karma
Apache License 2.0
Go
@@ -21,6 +21,10 @@ export class VendorsExtractor extends AbstractExtractor<Vendor[]> { let itemPartial = itemData.getPartial(item.id.toString(), 'item'); // If we didn't find the item in partials, get it from ingredients if (itemPartial === undefined) { + if (itemData.ingredients === undefined) { + // if this has no pa...
fix: fixed an issue that prevented addition of some items
null
ffxiv-teamcraft/ffxiv-teamcraft
MIT License
TypeScript
@@ -1458,6 +1458,11 @@ namespace Cicada { * does not say so) */ char *hls_timestamp_map = strstr(reinterpret_cast<char *>(mBuffer), "\nX-TIMESTAMP-MAP="); + + if (hls_timestamp_map == nullptr) { + return mMapPTS; + } + char *native_str = strstr(hls_timestamp_map, "LOCAL:"); char *mpegts_str = strstr(hls_timestamp_map, ...
fix(HLSStream): fix crash when webvtt no X-TIMESTAMP-MAP
null
alibaba/cicadaplayer
MIT License
C++
@@ -58,6 +58,7 @@ export class BaseAuthResolver { ctx, { input: { [NATIVE_AUTH_STRATEGY_NAME]: args }, + rememberMe: args.rememberMe, }, req, res,
fix(core): RememberMe args not passed correctly for NativeAuthenticationStrategy
null
vendure-ecommerce/vendure
MIT License
TypeScript
@@ -1225,7 +1225,8 @@ void Widget_AutoSize(LCUI_Widget w) static void Widget_ComputeSize(LCUI_Widget w) { - float width, height, max_width = -1; + float width, height; + float max_width = -1, default_width = -1; Widget_ComputeLimitSize(w); width = ComputeXMetric(w, key_width); @@ -1249,18 +1250,21 @@ static void Widget...
fix(gui): the block element default width should be 100%
null
lc-soft/lcui
MIT License
C
import { Component, Input } from "@angular/core"; import { connectPagination } from "instantsearch.js/es/connectors"; -import { noop } from "lodash"; +import { noop, range } from "lodash"; import BaseWidget from "../base-widget"; import { NgISInstance } from "../instantsearch/instantsearch-instance"; @@ -100,10 +100,41...
fix(pagination): respecte `pagesPagging` prop
null
algolia/angular-instantsearch
MIT License
TypeScript
@@ -22,7 +22,8 @@ from frappe.exceptions import DoesNotExistError from frappe.model.utils.link_count import flush_local_link_count from frappe.query_builder.functions import Count from frappe.query_builder.utils import DocType -from frappe.utils import cast, get_datetime, get_table_name, getdate, now, sbool +from frapp...
fix(db): Import cast as cast_fieldtype to manevour ambiguity
null
frappe/frappe
MIT License
Python
@@ -513,13 +513,6 @@ func (self *SVirtualMachine) DeleteVM(ctx context.Context) error { if err != nil { return self.doUnregister(ctx) } - for i := 0; i < len(self.vdisks); i += 1 { - err := self.doDetachAndDeleteDisk(ctx, &self.vdisks[i]) - if err != nil { - log.Errorf("self.doDetachAndDeleteDisk(ctx, &self.vdisks[i]) ...
fix(esxiagent): Lead to vCenter server '503' when deleting vm'disk
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -47,6 +47,7 @@ module Course::LessonPlan::PersonalizationConcern def algorithm_fomo(course_user) submitted_lesson_plan_item_ids, items, learning_rate_ema = retrieve_or_compute_course_user_data(course_user) + Rails.cache.delete("course/lesson_plan/personalization_concern/#{course_user.id}") return if learning_rate_em...
fix: clear cache after computing course user data
null
coursemology/coursemology2
MIT License
Ruby
@@ -278,7 +278,10 @@ protected override void LoadComplete() updateBasalHeight(); foreach (var boxOriginal in boxOriginals) + { + boxOriginal.Y = 0; boxOriginal.Height = basalHeight; + } float offsetValue = 0;
fix(osu.Game): reset Y axis of the bars in hit distribution graph at the first drawing
null
ppy/osu
MIT License
C#
@@ -812,8 +812,8 @@ impl_runtime_apis! { } fn get_premium_redeem_vaults() -> Result<Vec<(AccountId, BalanceWrapper<Balance>)>, DispatchError> { - let result = VaultRegistry::get_premium_redeem_vaults(); - Ok(result.iter().map(|v| BalanceWrapper{amount:v.1}).collect()) + let result = VaultRegistry::get_premium_redeem_va...
fix: wrap the balance correctly for the RPC return call
null
interlay/interbtc
Apache License 2.0
Rust
@@ -19,7 +19,7 @@ class Filter(BaseFilter): new_width = source_width * value new_height = source_height * value - if new_width <= 0 or new_height <= 0: + if new_width < 1 or new_height < 1: return self.engine.resize(new_width, new_height)
fix: impossible proportion constraint
null
thumbor/thumbor
MIT License
Python
@@ -48,7 +48,7 @@ func optionParse(it *shell.Cmd, L lua.Lua) bool { if strings.HasSuffix(strings.ToLower(*optionF), ".lua") { // lua script setLuaArg(L, *optionF) - err := L.Source(*optionF) + _, err := runLua(it, L, *optionF) if err != nil { fmt.Fprintln(os.Stderr, err) }
fix: in lua scripts called by -f option, interpreter object was not set global
null
zetamatta/nyagos
BSD 3-Clause New or Revised License
Go
@@ -109,12 +109,12 @@ public class Report { /** * Vulnerabilities that cause a build exception, determined in {@link Report#processVulnerabilities()}. */ - private Set<AggregatedVuln> vulnsAboveThreshold = new HashSet<AggregatedVuln>(); + private Set<AggregatedVuln> vulnsAboveThreshold = new TreeSet<AggregatedVuln>(); ...
fix(lang): fix typo + change to treeSet
null
eclipse/steady
Apache License 2.0
Java
@@ -270,26 +270,23 @@ impl<'b> DiffState<'b> { fn create_component_node(&mut self, vcomponent: &'b VComponent<'b>) -> usize { let parent_idx = self.current_scope().unwrap(); - // ensure this scope doesn't already exist if we're trying to create it - debug_assert!( - vcomponent - .scope - .get() - .and_then(|f| self.sco...
fix: diffing allows component reuse
null
dioxuslabs/dioxus
Apache License 2.0
Rust
@@ -620,7 +620,8 @@ class WorkfileSettings(object): # third set ocio custom path if root_dict.get("customOCIOConfigPath"): self._root_node["customOCIOConfigPath"].setValue( - str(root_dict["customOCIOConfigPath"]).format(**os.environ) + str(root_dict["customOCIOConfigPath"]).format( + **os.environ).replace("\\", "/") )...
fix(nuke): mixed slashes issue on ocio config path
null
pypeclub/openpype
MIT License
Python
@@ -97,7 +97,7 @@ const Actions = styled(`div`)` } ` -const EcosysteSection = ({ +const EcosystemSection = ({ title, description, subTitle, @@ -137,7 +137,7 @@ const EcosysteSection = ({ </EcosystemSectionRoot> ) -EcosysteSection.propTypes = { +EcosystemSection.propTypes = { title: PropTypes.string.isRequired, descript...
fix(www): typo in EcosysteSection => EcosystemSection
null
gatsbyjs/gatsby
MIT License
JavaScript
@@ -125,7 +125,7 @@ export function createTableInstance<TGenerics extends TableGenerics>( } as TableState const queued: (() => void)[] = [] - let queuedTimeout: NodeJS.Timeout + let queuedTimeout: ReturnType<typeof setTimeout> const finalInstance: TableInstance<TGenerics> = { ...instance,
fix: queuedTimeout type
null
tannerlinsley/react-table
MIT License
TypeScript
@@ -156,13 +156,13 @@ public class DashboardController { for ( final DashboardItem item : items ) { - final boolean hasAssociatedType = item != null + final boolean hasAssociationType = item != null && (item.getLinkItems() != null || item.getEmbeddedItem() != null || item.getText() != null || item.getMessages() != null...
fix: Logic for dashboard of type App
null
dhis2/dhis2-core
BSD 3-Clause New or Revised License
Java
@@ -4,6 +4,7 @@ import ( "encoding/json" "fmt" "log" + "os" "strconv" "strings" @@ -39,6 +40,7 @@ func NewNodeCommand() *cobra.Command { Run: func(cmd *cobra.Command, args []string) { if len(args) < 1 { cmd.HelpFunc()(cmd, args) + os.Exit(1) } if args[0] != "set" {
fix(cli): exit when calling subcommand node without args
null
argoproj/argo-workflows
Apache License 2.0
Go
@@ -5,7 +5,7 @@ public class FindMin { //Driver public static void main(String[] args) { int[] array = {2, 4, 9, 7, 19, 94, 5}; - System.out.println("min = " + findMax(array)); + System.out.println("min = " + findMin(array)); } /** @@ -14,7 +14,7 @@ public class FindMin { * @param array the array contains element * @re...
fix: update FindMin and fix
null
thealgorithms/java
MIT License
Java
@@ -150,15 +150,15 @@ func (k *kzgCache) getSRS(ccs frontend.CompiledConstraintSystem) kzg.SRS { func getKZGSize(ccs frontend.CompiledConstraintSystem) int { switch tccs := ccs.(type) { case *cs_bn254.SparseR1CS: - return nextPowerOfTwo(len(tccs.Constraints) + len(tccs.Assertions) + tccs.NbPublicVariables) + return nex...
fix: fixed gnarkd tests for kzg srs
null
consensys/gnark
Apache License 2.0
Go
@@ -25,6 +25,19 @@ export interface TConfig<Config extends Configuration> { effects: Config['effects'] & {} } +// This is the type of the `app` argument passed in components. +export type TApp<Config extends Configuration> = { + // Resolves `Derive` types in state. + state: ResolveState<Config['state'] & {}> + actions:...
fix(overmind): add TApp back because it is useful to type helper functions
null
cerebral/overmind
MIT License
TypeScript
@@ -126,8 +126,10 @@ let appReducerCore = Reducer<AppState, AppAction, AppEnvironment> { state, actio case .favorites: if state.favoritesState.route != nil { effects.append(.init(value: .favorites(.setNavigation(nil)))) - } else { + effects.append(hapticEffect) + } else if environment.cookiesClient.didLogin { effects.a...
fix: Unexpected haptic feedbacks on favorites tap when nothing happens
null
ehpanda-team/ehpanda
MIT License
Swift
import {AWS, Client, Entity, Model, Table, dump, print} from './utils/init' // send any schema because it gets modified -const table = new Table<any>({ +const table = new Table({ name: 'InlineModelTypeScriptTestTable', client: Client, schema: {
fix: remove unnecessary any
null
sensedeep/dynamodb-onetable
MIT License
TypeScript
@@ -64,6 +64,8 @@ class _ProductImageGalleryViewState extends State<ProductImageGalleryView> { element.imageUrl == widget.productImageData.imageUrl), ), ); + _currentIndex = _controller.initialPage; + _productImageDataCurrent = widget.productImageData; super.initState(); }
fix: in gallery view the dots are not synchronize with the position of the photo, when the screen is launched
null
openfoodfacts/smooth-app
Apache License 2.0
Dart
@@ -89,6 +89,12 @@ func NewLeaderElector(lec LeaderElectionConfig) (*LeaderElector, error) { if lec.RetryPeriod < 1 { return nil, fmt.Errorf("retryPeriod must be greater than zero") } + if lec.Callbacks.OnStartedLeading == nil { + return nil, fmt.Errorf("OnStartedLeading callback must not be nil") + } + if lec.Callback...
fix: do not allow nil Callbacks functions
null
kubernetes/client-go
Apache License 2.0
Go
@@ -142,8 +142,15 @@ class DaoProxy protected function create($method, $arguments) { $declares = $this->dao->declares(); + + $time = time(); + if (isset($declares['timestamps'][0])) { - $arguments[0][$declares['timestamps'][0]] = time(); + $arguments[0][$declares['timestamps'][0]] = $time; + } + + if (isset($declares['...
fix: create row add update time fields
null
codeages/biz-framework
MIT License
PHP
@@ -152,6 +152,11 @@ pub enum Error { ErrorDeserializing { source: serde_json::Error }, #[snafu(display("store error: {}", source))] StoreError { source: object_store::Error }, + #[snafu(display( + "no database configuration present in directory that contains data: {:?}", + location + ))] + NoDatabaseConfigError { loca...
fix: Load only databases for which a config exists
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -65,7 +65,7 @@ public final class DefaultResourceURIPathResolver implements ResourceURIPathReso } else { VersionSearchRequestBuilder versionSearch = ResourceRequests.prepareSearchVersion() .one() - .filterByResource(uriToResolve); + .filterByResource(terminologyResource.getResourceURI()); if (uriToResolve.isLatest()...
fix: fix incorrect resource filter in DefaultResourceURIPathResolver
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -72,8 +72,11 @@ func (t *task) setStatus(status string) { t.updateStatus() - if status == taskSuccessStatus || status == taskFailStatus { + if status == taskFailStatus { t.sendMailAlert() + } + + if status == taskSuccessStatus || status == taskFailStatus { t.sendTelegramAlert() } }
fix(be): send email alert only for failed tasks
null
ansible-semaphore/semaphore
MIT License
Go
@@ -173,6 +173,10 @@ class SapphireTest extends PHPUnit_Framework_TestCase implements TestOnly */ public static function tempDB() { + if (!class_exists(TempDatabase::class)) { + return null; + } + if (!static::$tempDB) { static::$tempDB = TempDatabase::create(); } @@ -280,18 +284,28 @@ class SapphireTest extends PHPUni...
fix: Add class_exists() guards to SapphireTest
null
silverstripe/silverstripe-framework
BSD 3-Clause New or Revised License
PHP
@@ -196,6 +196,7 @@ func (s *Server) sendSuccessfulResponse(w http.ResponseWriter, tokenData []byte) w.WriteHeader(http.StatusOK) if _, err := w.Write(tokenData); err != nil { stsServerLog.Errorf("failure in sending STS success response: %v", err) + return } stsServerLog.Debug("sent out STS success response") }
fix: send reponse error cannot continue to log debug
null
maistra/istio
Apache License 2.0
Go
@@ -33,10 +33,12 @@ class Article extends Model implements Auditable /** * Uppercase Title accessor. * + * @param string $value + * * @return string */ - public function getTitleAttribute(): string + public function getTitleAttribute(string $value): string { - return strtoupper($this->attributes['title']); + return str...
fix(Tests): Article model title accessor
null
owen-it/laravel-auditing
MIT License
PHP
@@ -9,7 +9,7 @@ using UniRx; using UnityEngine; // Handles loading and caching of SongMeta and related data structures (e.g. the voices are cached). -public class SongMetaManager : AbstractSingletonBehaviour, INeedInjection +public class SongMetaManager : AbstractSingletonBehaviour { private static readonly object scan...
fix: NPE in song scan
null
ultrastar-deluxe/play
MIT License
C#
@@ -164,27 +164,26 @@ public: fullSnapshot(data); resetSnapshot = true; committedWriteBytes = notifiedCommittedWriteBytes.get(); - } - else { - int64_t bytesWritten = commit_queue(queue, !disableSnapshot, sequential); - if(!disableSnapshot) { - committedWriteBytes += bytesWritten + OP_DISK_OVERHEAD; //OP_DISK_OVERHEAD ...
fix: the master proxy would log an OpCommit for empty commits to the txnStateStore
null
apple/foundationdb
Apache License 2.0
C++
@@ -362,7 +362,7 @@ public class AnalystWorker implements Runnable { // replicate previous static site functionality; if this is the first of a batch of tasks, and if there is // an output bucket specified, write the shared metadata for this batch of requests to the output bucket - if(request.taskId == 0 && !"".equals(...
fix(multipoint): check that request specifies bucket
null
conveyal/r5
MIT License
Java
@@ -49,7 +49,7 @@ defmodule Ockam.Services.API do """ def reply_error(request, reason, address) do status = status_code(reason) - body = error_message(reason) + body = CBOR.encode(error_message(reason)) reply(request, status, body, address) end @@ -94,11 +94,15 @@ defmodule Ockam.Services.API do ## TODO: better standar...
fix(elixir): encode api error messages as cbor strings
null
ockam-network/ockam
Apache License 2.0
Elixir
@@ -21,7 +21,7 @@ use crate::assist_context::{AssistBuilder, AssistContext, Assists}; // -> // ``` // fn main() { -// let (_0, _1) = (1,2); +// let ($0_0, _1) = (1,2); // let v = _0; // } // ``` @@ -41,7 +41,7 @@ use crate::assist_context::{AssistBuilder, AssistContext, Assists}; // -> // ``` // fn main() { -// let t @...
fix: different assist ids in doc and code
null
rust-lang/rust-analyzer
Apache License 2.0
Rust
@@ -70,7 +70,7 @@ public class FlinkTaskExecuteCommand extends BaseTaskExecuteCommand<FlinkCommand List<BaseSink<FlinkEnvironment>> sinks = executionContext.getSinks(); checkPluginType(executionContext.getJobMode(), sources, transforms, sinks); - baseCheckConfig(sinks, transforms, sinks); + baseCheckConfig(sources, tra...
fix: flink core cannot check source config.[bug]
null
interestinglab/waterdrop
Apache License 2.0
Java
@@ -36,7 +36,7 @@ func GetMode(target configuration.Target) (*v2.ModeView, error) { func SetModeWithArguments(target configuration.Target, modeView v2.ModeView) (string, error) { if modeView.Mode != "simulate" && modeView.Mode != "capture" && modeView.Mode != "modify" && modeView.Mode != "synthesize" && - modeView.Mode...
fix: hoverctl can set hoverfly to diff mode
null
spectolabs/hoverfly
Apache License 2.0
Go
@@ -75,9 +75,9 @@ checkDesiredVersion() { local release_url="https://github.com/Azure/aks-engine/releases/${DESIRED_VERSION:-latest}" # shellcheck disable=SC2086 if type "curl" > /dev/null; then - TAG=$(curl -SsL $release_url | awk '/\/tag\//' | grep -v no-underline | grep "<a href=\"/Azure/aks-engine/releases" | head ...
fix: Fix release page HTML scrape to get version
null
azure/aks-engine
MIT License
Shell
@@ -80,7 +80,7 @@ const ( var ( CLOUD_PROVIDER_VALID_STATUS = []string{CLOUD_PROVIDER_CONNECTED} CLOUD_PROVIDER_VALID_HEALTH_STATUS = []string{CLOUD_PROVIDER_HEALTH_NORMAL, CLOUD_PROVIDER_HEALTH_NO_PERMISSION} - PRIVATE_CLOUD_PROVIDERS = []string{CLOUD_PROVIDER_ZSTACK, CLOUD_PROVIDER_OPENSTACK} + PRIVATE_CLOUD_PROVIDER...
fix(region): apsara is private cloud
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -165,7 +165,7 @@ task_spec::task_spec(int code, on_rpc_task_dropped((std::string(name) + std::string(".dropped")).c_str()), on_rpc_reply((std::string(name) + std::string(".rpc.reply")).c_str()), on_rpc_response_enqueue((std::string(name) + std::string(".rpc.response.enqueue")).c_str()), - on_rpc_create_response((std...
fix: the join point name of on_rpc_create_response
null
apache/incubator-pegasus
Apache License 2.0
C++
@@ -485,7 +485,7 @@ class TokensDataStore { case .isDisabled(let value): token.isDisabled = value case .nonFungibleBalance(let balance): - token.balance.removeAll() + realm.delete(token.balance) if !balance.isEmpty { for i in 0...balance.count - 1 { token.balance.append(TokenBalance(balance: balance[i]))
fix: old unfungible token balances left behind in database after refresh
null
alphawallet/alpha-wallet-ios
MIT License
Swift
@@ -268,21 +268,22 @@ impl Graph { traversed: &mut std::collections::HashSet<(usize, usize)>, ) -> std::result::Result<(), String> { let node = self.node(idx); - if let Some(ref req) = node.data.version_req { candidates.retain(|v| req.matches(v.as_ref())); } for dep in self.imported_nodes(idx).iter().copied() { // chec...
fix(solc): allow cyclic imports
null
gakonst/ethers-rs
Apache License 2.0
Rust
@@ -123,12 +123,6 @@ func (r *RemoteVariablesLoader) Load(blocks Blocks) (map[string]cty.Value, error } } - var spinner *ui.Spinner - if r.newSpinner != nil { - spinner = r.newSpinner(spinnerMsg) - defer spinner.Success() - } - if config.host != "" { r.client.SetHost(config.host) } @@ -136,27 +130,27 @@ func (r *Remote...
fix: remove terraform variables spinner if workspace does not use remote execution
null
infracost/infracost
Apache License 2.0
Go
@@ -22,7 +22,7 @@ function _omp_hook() { omp_elapsed=$((omp_now-omp_start_time)) rm -f "$TIMER_START" fi - PS1="$(::OMP:: --config="$POSH_THEME" --shell=bash --error="$ret" --execution-time="$omp_elapsed" --stack-count="$omp_stack_count")" + PS1="$(::OMP:: --config="$POSH_THEME" --shell=bash --error="$ret" --execution-...
fix(bash): ignore null byte in input
null
jandedobbeleer/oh-my-posh
MIT License
Shell
@@ -72,12 +72,13 @@ static int kscan_mock_configure(struct device *dev, kscan_callback_t callback) struct kscan_mock_data *data = \ CONTAINER_OF(work, struct kscan_mock_data, work); \ const struct kscan_mock_config_##n *cfg = data->dev->config_info; \ - u32_t ev = cfg->events[data->event_index++]; \ + u32_t ev = cfg->e...
fix(test): off by one error with kscan processing
null
zmkfirmware/zmk
MIT License
C
@@ -413,13 +413,13 @@ class RenderBase extends Component<RenderProps, RenderState> { private transformCode(code: string): string { return ` - const App = ({ children }) => ( + const DoczApp = ({ children }) => ( <React.Fragment> {children && typeof children === 'function' ? children() : children} </React.Fragment> ) - ...
fix(docz-theme-default): rename playground container to avoid conflicts
null
doczjs/docz
MIT License
TypeScript
@@ -46,10 +46,6 @@ public class ElasticSearchTemplateRepository extends AbstractElasticSearchReposi this.eventPublisher = eventPublisher; } - private static String templateId(Template template) { - return template.getId(); - } - @Override public Optional<Template> findById(String namespace, String id) { BoolQueryBuilde...
fix(repository-elasticsearch): template have a wrong id
null
kestra-io/kestra
Apache License 2.0
Java
@@ -18,6 +18,19 @@ public class MultiplayerGameRunner extends GameRunner { System.setProperty("game.mode", "multi"); } + /** + * Sets the league level to run. The first league is 1. + * <p>The value can also be set by setting the environment variable <code>league.level</code>.</p> + * @param leagueLevel the league leve...
fix(sdk): add the setter for league level
null
codingame/codingame-game-engine
MIT License
Java
@@ -101,7 +101,9 @@ open class MediaControl: UICorePlugin, UIGestureRecognizerDelegate { } private func showIfAlwaysVisible() { - show(animated: true) { self.disappearAfterSomeTime(self.longTimeToHideMediaControl) + show(animated: true) { + guard !self.alwaysVisible else { return } + self.disappearAfterSomeTime(self.lo...
fix: check for always visible option on first play
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -87,7 +87,16 @@ func (self *SClassicVpc) Delete() error { } func (self *SClassicVpc) GetISecurityGroups() ([]cloudprovider.ICloudSecurityGroup, error) { - return []cloudprovider.ICloudSecurityGroup{}, nil + secgroups, err := self.region.ListSecgroups() + if err != nil { + return nil, errors.Wrapf(err, "ListSecgroups...
fix(region): avoid azure secgroup sync removed
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -19,7 +19,7 @@ module.exports = { }, { name: 'description', - message: 'How would you descripe the new module', + message: 'How would you describe the new module', default({ name }) { return `OVHcloud ${camelcase(name, { pascalCase: true })} product`; },
fix(saofile): fix typo
null
ovh/manager
BSD 3-Clause New or Revised License
JavaScript
@@ -29,7 +29,7 @@ module PactBroker version_text = head_consumer_tags.size == 1 ? "version" : "versions" if wip? # WIP pacts will always have tags, because it is part of the definition of being a WIP pact - "The pact at #{pact_version_url} is being verified because it is a 'work in progress' pact (ie. it is the pact fo...
fix: Add consumer name to inclusion reason log
null
pact-foundation/pact_broker
MIT License
Ruby
@@ -369,7 +369,7 @@ export default class Grid { return data; } get_modal_data() { - return this.df.get_data ? this.df.get_data().filter(data => { + return this.df.get_data() ? this.df.get_data().filter(data => { if (!this.deleted_docs || !in_list(this.deleted_docs, data.name)) { return data; }
fix: Minor filter bug
null
frappe/frappe
MIT License
JavaScript
@@ -229,11 +229,14 @@ class _ProductPageState extends State<ProductPage> { ); } return Center( + child: Padding( + padding: const EdgeInsets.only(bottom: SMALL_SPACE), child: Column( mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: widgetsWrappedInSmoothCards, ), + )...
fix: - additional padding
null
openfoodfacts/smooth-app
Apache License 2.0
Dart
@@ -76,6 +76,8 @@ func (b *eventsBroker) cleanAll() { log.Warning("CleanAll> Cannot get lock for %s", cache.Key(locksKey, v.UUID)) continue } + + log.Info("CleanALL store subscribe for %s", v.UUID) b.deleteSubEvents(v.UUID) b.unlockCache(v.UUID) } @@ -105,7 +107,9 @@ func (b *eventsBroker) cleanClient(client eventsBrok...
fix(api): add info logs on events clean + deconnection
null
ovh/cds
BSD 3-Clause New or Revised License
Go
@@ -102,6 +102,24 @@ func (e *custom) postObserve(_ context.Context, cr *svcapitypes.VPCPeeringConnec req := svcsdk.ModifyVpcPeeringConnectionOptionsInput{ VpcPeeringConnectionId: awsclients.String(*obj.VpcPeeringConnections[0].VpcPeeringConnectionId), } + setAccepterRequester(&req, cr) + + request, _ := e.client.Modif...
fix: lint cyclomatic complexity
null
crossplane/provider-aws
Apache License 2.0
Go
@@ -126,7 +126,7 @@ impl Generator { "ProviderState" => map.get("expression").map(|f| Generator::ProviderStateGenerator(json_to_string(f), map.get("dataType") .map(|dt| DataType::from(dt.clone())))), - "MockServerURL" => Some(Generator::MockServerURL(get_field_as_string("value", map).unwrap_or_default(), + "MockServerU...
fix: MockServerURL generator was using the incorrect field
null
pact-foundation/pact-reference
MIT License
Rust
@@ -91,6 +91,8 @@ class TBGatewayMqttClient(TBDeviceMqttClient): for device in self.__sub_dict["*|*"]: self.__sub_dict["*|*"][device](content) # callbacks for device. in this case callback executes for all attributes in message + if content.get("device") is None: + return target = content["device"] + "|*" if self.__sub...
fix: add device field check of content
null
thingsboard/thingsboard-gateway
Apache License 2.0
Python
@@ -100,9 +100,10 @@ impl<'a> Binder { } InsertSource::Values { rest_tokens } => { let stream_str = self.analyze_streaming_intput(rest_tokens)?; + let str = stream_str.trim_end_matches(';'); self.analyze_stream_format( bind_context, - &stream_str, + str, Some("VALUES".to_string()), schema.clone(), )
fix(parser): remove end semicolon
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -402,7 +402,7 @@ namespace WalkingTec.Mvvm.Core.Extensions fieldName = fieldName.Remove(fieldName.Length - 2); var typeinfo = middletype.GetProperty(fieldName); //var IsTableName = tableName?.Where(x => x == fieldName).FirstOrDefault(); - var IsTableName = tableName?.Where(x => x.ToLower() == typeinfo.Name.ToLower()...
fix: fix dataprivilege bug
null
dotnetcore/wtm
MIT License
C#
@@ -125,6 +125,9 @@ public class CordovaActivity extends Activity { // (as was the case in previous cordova versions) if (!preferences.getBoolean("FullscreenNotImmersive", false)) { immersiveMode = true; + // The splashscreen plugin needs the flags set before we're focused to prevent + // the nav and title bars from fl...
fix(splashscreen): nav & title bar showing in fullscreen mode
null
apache/cordova-android
Apache License 2.0
Java
@@ -199,7 +199,7 @@ public class MinioClient { private String userAgent = DEFAULT_USER_AGENT; - private OkHttpClient httpClient = new OkHttpClient(); + private OkHttpClient httpClient; /** @@ -635,6 +635,7 @@ public class MinioClient { if (httpClient != null) { this.httpClient = httpClient; } else { + this.httpClient =...
fix: do not initialize httpClient in MinioClient class level
null
minio/minio-java
Apache License 2.0
Java
@@ -63,9 +63,10 @@ declare module 'sweetalert2' { /** * Closes the currently open SweetAlert2 modal programmatically. * - * @param onComplete An optional callback to be called when the alert has finished closing. + * @param result The promise originally returned by {@link Swal.fire} will be resolved with this value. + ...
fix(types): Swal.close() now takes the value to resolve with, not a callback
null
sweetalert2/sweetalert2
MIT License
TypeScript
@@ -228,7 +228,7 @@ public class PreheatTaskRepository { for (String tsId : timestampIds) { try { long timestamp = Long.parseLong(tsId.substring(0, timestampLength)); - if (isExpired(timestamp)) { + if (!isExpired(timestamp)) { String id = tsId.substring(timestampLength + 1); if (StringUtils.isNotBlank(id)) { ids.add(i...
fix: load unexpired preheat task from disk
null
dragonflyoss/dragonfly
Apache License 2.0
Java
@@ -23,7 +23,6 @@ import pandas as pd import torch import torch.nn.utils.rnn as rnn_utils from scipy.sparse import coo_matrix -import math from recbole.data.interaction import Interaction from recbole.data.utils import dlapi
fix: remove math in dataset
null
rucaibox/recbole
MIT License
Python
@@ -110,6 +110,9 @@ public final class PaletteHolder { } private void setHeaderColor(WeakReference<GlidePalette<Drawable>> glidePalette, ViewGroup viewGroup) { + if (glidePalette == null || viewGroup == null) + return; + if (glidePalette.get() == null) return; @@ -117,6 +120,9 @@ public final class PaletteHolder { } pr...
fix: Resolved Findbugs violations
null
fossasia/open-event-organizer-android
Apache License 2.0
Java
@@ -43,7 +43,9 @@ class Colour(commands.Cog): elif colour_mode == "name": input_colour = ctx.kwargs["user_colour_name"] elif colour_mode == "hex": - input_colour = ctx.args[2:][0][0:-2] + input_colour = ctx.args[2:][0] + if len(input_colour) >= 7: + input_colour = input_colour[0:-2] else: input_colour = tuple(ctx.args[...
fix: check length of hex before strip
null
python-discord/sir-lancebot
MIT License
Python
@@ -165,7 +165,7 @@ class Dygraph extends Component<Props, State> { {legendData && ( <Legend {...legendData} seriesDescriptions={seriesDescriptions} /> )} - {!!hoverTime && ( + {!!hoverTime && !!this.dygraph && ( <HoverTimeMarker x={this.dygraph.toDomXCoord(hoverTime)} /> )} {this.nestedGraph}
fix(ui/dygraph): add guard for dygraph
null
influxdata/influxdb
MIT License
TypeScript
@@ -78,6 +78,12 @@ func NewService(store storage.StateStorer, postageStore Storer, chainID int64) ( func (ps *service) Add(st *StampIssuer) { ps.lock.Lock() defer ps.lock.Unlock() + + for _, v := range ps.issuers { + if bytes.Equal(st.data.BatchID, v.data.BatchID) { + return + } + } ps.issuers = append(ps.issuers, st) ...
fix: duplicate issuers
null
ethersphere/bee
BSD 3-Clause New or Revised License
Go
@@ -369,8 +369,8 @@ func discoverConf(ctx []cli.Arg) ([]string, error) { } // set application name and override repository config if exists - applicationName = application.Name if application != nil { + applicationName = application.Name if repoExists { if err := r.LocalConfigSet("cds", "application", applicationName);...
fix(cdsctl): avoid panic getting application name
null
ovh/cds
BSD 3-Clause New or Revised License
Go
@@ -20,9 +20,6 @@ function package() { linux) electron-builder --linux ;; - mwl) - electron-builder -mwl - ;; *) electron-builder -mwl ;;
fix: remove redundant option
null
nervosnetwork/neuron
MIT License
Shell
@@ -54,11 +54,6 @@ const propTypes = { }; class ReportDetailsPage extends Component { - // eslint-disable-next-line no-useless-constructor - constructor(props) { - super(props); - } - getMenuItems() { const menuItems = [];
fix: remove redundant
null
expensify/expensify.cash
MIT License
JavaScript
@@ -49,7 +49,7 @@ public extension SolanaSDK { instructions: instructions, preTokenBalances: transactionInfo.meta?.preTokenBalances, innerInstruction: transactionInfo.meta?.innerInstructions? - .first(where: { $0.instructions.contains(where: { $0.programId == PublicKey.dexPID.base58EncodedString }) }), + .first(where: ...
fix: serumSwapPID
null
p2p-org/solana-swift
MIT License
Swift
@@ -803,13 +803,13 @@ class Flow(ExitStack): mermaid_str = 'graph TD\n' + '\n'.join(mermaid_graph) if 'output' in kwargs: - self.__mermaidstr_to_jpg(mermaid_str=mermaid_str, output=kwargs['output']) + self._mermaidstr_to_jpg(mermaid_str=mermaid_str, output=kwargs['output']) else: - return self.__mermaidstr_to_url(merma...
fix: remove double underscore
null
jina-ai/jina
Apache License 2.0
Python
@@ -96,10 +96,10 @@ namespace Shoko.Server.API.v3.Models.Shoko public int? DefaultSeries { get; set; } /// <summary> - /// The ID of the main series for the group, unless the group is empty. + /// The ID of the main series for the group. /// </summary> /// <value></value> - public int? MainSeries { get; set; } + public...
fix: mark main series as always present
null
shokoanime/shokoserver
MIT License
C#
@@ -20,6 +20,7 @@ use crate::{ AsObject, Py, PyObject, PyObjectRef, PyPayload, PyRef, PyResult, TryFromObject, VirtualMachine, }; use indexmap::IndexMap; +use std::iter::zip; use itertools::Itertools; use std::fmt; #[cfg(feature = "threading")] @@ -193,7 +194,7 @@ impl FrameRef { let j = std::cmp::min(map.len(), code.v...
fix: deprecated function
null
rustpython/rustpython
MIT License
Rust
@@ -165,7 +165,9 @@ auto waybar::modules::Bluetooth::update() -> void { format_ = default_format_; } } - if (config_["tooltip-format-" + state].isString()) { + if (battery_available && config_["tooltip-format-connected-battery"].isString()) { + tooltip_format = config_["tooltip-format-connected-battery"].asString(); + ...
fix(bluetooth): tooltip-format-connected-battery
null
alexays/waybar
MIT License
C++
@@ -35,9 +35,7 @@ const ( SourceTypeUnknown SourceType = 3 ) -var ( - grafanaComDashboardApiUrlRoot string = "https://grafana.com/api/dashboards" -) +var grafanaComDashboardApiUrlRoot string = "https://grafana.com/api/dashboards" type DashboardPipeline interface { ProcessDashboard(knownHash string, folderId *int64, fol...
fix: dashboard cache (sequence of actions)
null
grafana-operator/grafana-operator
Apache License 2.0
Go
#!/bin/bash -tmp_dir=$(mktemp -d -t parsr-install) - -/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" && -brew install qpdf imagemagick tesseract tesseract-lang tcl-tk ghostscript mupdf-tools pandoc && -curl https://bootstrap.pypa.io/get-pip.py -o $tmp_dir/get-pip.py &&...
fix: darwin.bash.sh fixes and improvements
null
axa-group/parsr
Apache License 2.0
Shell
@@ -108,8 +108,9 @@ public class BaseTableDdl implements TableDdl { // altered columns will be in the alterTable buffers. // 'after' goes to the post-alter-buffer if (!after.isEmpty()) { + if (withHistory) { writer.applyPostAlter().append("-- NOTE: table has @History - special migration may be necessary").newLine(); - ...
fix: DDL will get wrong hint for special migration
null
ebean-orm/ebean
Apache License 2.0
Java
@@ -84,9 +84,10 @@ object PactWriter : KLogging() { val buffer = ByteArray(128) val data = ByteArrayOutputStream() + file.seek(0) var count = file.read(buffer) while (count > 0) { - data.write(buffer) + data.write(buffer, 0, count) count = file.read(buffer) }
fix: garbage at end of buffer when loading pact file
null
pact-foundation/pact-jvm
Apache License 2.0
Kotlin
@@ -131,7 +131,7 @@ const checkIfCanAddMeasurementsToDisplaySet = ( measurements.forEach(measurement => { const { coords } = measurement; - coords.forEach(coord => { + coords.forEach((coord, index) => { if (coord.ReferencedSOPSequence !== undefined) { const imageIndex = SOPInstanceUIDs.findIndex( SOPInstanceUID => @@ -...
fix: Re IDC2797, fix double parsing of SR qualitative annotations
null
ohif/viewers
MIT License
JavaScript
@@ -293,7 +293,7 @@ StoryGroupTreeNode.propTypes = { StoryGroupTreeNode.defaultProps = { disabled: false, - showPublish: true, + showPublish: false, }; const StoryGroupTreeNodeWrapped = props => <StoryGroupTreeNode {...props} />;
fix: hide publish switch
null
botfront/botfront
Apache License 2.0
JavaScript
+use async_graphql::*; +use serde::{Deserialize, Serialize}; + +#[derive(Serialize, Deserialize)] +#[repr(transparent)] +#[serde(transparent)] +struct AssetId(pub uuid::Uuid); + +async_graphql::scalar!(AssetId); + +#[tokio::test] +/// Test case for +/// https://github.com/async-graphql/async-graphql/issues/603 +pub asy...
fix: add test case for serializing issue
null
async-graphql/async-graphql
Apache License 2.0
Rust
@@ -27,4 +27,8 @@ defmodule RealtimeWeb.RealtimeChannel do Realtime.Metrics.SocketMonitor.track_channel(socket) {:noreply, socket} end + + def handle_in("access_token", _, socket) do + {:noreply, socket} + end end
fix: handle incoming access_token message from client
null
supabase/realtime
Apache License 2.0
Elixir
@@ -394,7 +394,7 @@ describe('execution', () => { const [execution] = await workflow.getExecutions(); expect(execution.status).toEqual(EXECUTION_STATUS.STARTED); - const [pending] = await execution.getJobs({ nodeId: n2.id }); + const [pending] = await execution.getJobs({ where: { nodeId: n2.id } }); pending.set('result...
fix(plugin-workflow): fix query option in test case
null
nocobase/nocobase
Apache License 2.0
TypeScript
@@ -34,9 +34,12 @@ class ProductQueryPage extends StatefulWidget { } class _ProductQueryPageState extends State<ProductQueryPage> { - final GlobalKey<ScaffoldState> _scaffoldKeyEmpty = GlobalKey<ScaffoldState>(); - final GlobalKey<ScaffoldState> _scaffoldKeyNotEmpty = - GlobalKey<ScaffoldState>(); + // we have to use G...
fix: - displaying snackbar through global keys
null
openfoodfacts/smooth-app
Apache License 2.0
Dart
import de.dytanic.cloudnet.command.source.CommandSource; import de.dytanic.cloudnet.common.INameable; import de.dytanic.cloudnet.common.WildcardUtil; +import de.dytanic.cloudnet.common.collection.Pair; import de.dytanic.cloudnet.common.language.I18n; import de.dytanic.cloudnet.common.log.LogManager; import de.dytanic.c...
fix(command): ser copy now works as expected
null
cloudnetservice/cloudnet-v3
Apache License 2.0
Java