Long-term debt as of September 30, 2018 and December 31, 2017, was as follows:
September 30, 2018
December 31, 2017
Revolving credit facility (a)
$
22,601
$
20,842
Capital lease
95
-
22,696
20,842
Less current portion
(41)
-
$
22,655
$
20,842
(a)
As of September 30, 2018, the Company had drawn $22,601 on amounts available under the credit agreement with JPMorgan Chase Bank, N.A., with a maturity date of June 27, 2022.