U.S. Senator Shelley Moore Capito was a yes vote to legislation which averts a government shutdown ahead of the Christmas Holiday.

Capito voted for the short-term government funding bill Friday in Washington. However, she had scathing remarks afterward for the Senate leadership. The measure became the fall back position after a bipartisan resolution was scuttled in the House of Representatives after Elon Musk and President Elect Donald Trump criticized the bill.

Capito issued the following statement after the vote:

“While I am glad we took the responsible step to avoid a shutdown—which would have had a detrimental impact to essential services that Americans rely on—we should not have been in this predicament in the first place. Despite having done our work on the Appropriations Committee months ago, Leader Schumer’s inaction on these committee-passed bills forced us into the current ‘govern by CR’ scenario. I am hopeful that in the new Congress, under a Republican majority in both the Senate and House and a Trump administration, we will be able to work together to prevent these kinds of scenarios and provide more predictability for the American people. I am also pleased that in this bill, we are providing the support and assistance needed for those who were devastated by recent natural disasters. Having seen firsthand the damage done in North Carolina with Vice President-elect Vance, this Congress did the right thing to provide the relief for those families, especially at this time of the year.”