From 52112bf26a77aa6afb39f4ae0e4e783253af2915 Mon Sep 17 00:00:00 2001 From: dotnetCarpenter Date: Sun, 10 Nov 2024 22:01:33 +0100 Subject: [PATCH] fixed tests --- eslint.config.js => eslint.config.mjs | 0 jsconfig.json | 10 ----- package.json | 2 +- src/test/xvfb.init | 53 --------------------------- 4 files changed, 1 insertion(+), 64 deletions(-) rename eslint.config.js => eslint.config.mjs (100%) delete mode 100644 jsconfig.json delete mode 100644 src/test/xvfb.init diff --git a/eslint.config.js b/eslint.config.mjs similarity index 100% rename from eslint.config.js rename to eslint.config.mjs diff --git a/jsconfig.json b/jsconfig.json deleted file mode 100644 index 69d0bbe..0000000 --- a/jsconfig.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "ES5", - "noLib": true - }, - "exclude": [ - "node_modules" - ] -} diff --git a/package.json b/package.json index 7362fc0..288f977 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "bugs": { "url": "https://github.com/Tyriar/vscode-sort-lines/issues" }, - "type": "module", + "type": "commonjs", "scripts": { "vscode:prepublish": "npm run compile", "compile": "tsc -p ./", diff --git a/src/test/xvfb.init b/src/test/xvfb.init deleted file mode 100644 index b9f3bfa..0000000 --- a/src/test/xvfb.init +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash -# -# /etc/rc.d/init.d/xvfbd -# -# chkconfig: 345 95 28 -# description: Starts/Stops X Virtual Framebuffer server -# processname: Xvfb -# -### BEGIN INIT INFO -# Provides: xvfb -# Required-Start: $remote_fs $syslog -# Required-Stop: $remote_fs $syslog -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: Start xvfb at boot time -# Description: Enable xvfb provided by daemon. -### END INIT INFO - -[ "${NETWORKING}" = "no" ] && exit 0 - -PROG="/usr/bin/Xvfb" -PROG_OPTIONS=":10 -ac" -PROG_OUTPUT="/tmp/Xvfb.out" - -case "$1" in - start) - echo "Starting : X Virtual Frame Buffer " - $PROG $PROG_OPTIONS>>$PROG_OUTPUT 2>&1 & - disown -ar - ;; - stop) - echo "Shutting down : X Virtual Frame Buffer" - killproc $PROG - RETVAL=$? - [ $RETVAL -eq 0 ] && /bin/rm -f /var/lock/subsys/Xvfb - /var/run/Xvfb.pid - echo - ;; - restart|reload) - $0 stop - $0 start - RETVAL=$? - ;; - status) - status Xvfb - RETVAL=$? - ;; - *) - echo $"Usage: $0 (start|stop|restart|reload|status)" - exit 1 -esac - -exit $RETVAL