Skip to content

Commit

Permalink
fix(lint): no-useless-escape for \" characters
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexZeitler committed Apr 25, 2023
1 parent 892e6db commit fcabbc2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/compose.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,7 @@ describe('version command', (): void => {

describe('parsePsOutput', (): void => {
it('parses ps output', () => {
// eslint-disable-next-line no-useless-escape
const output = `NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS\ncompose_test_hello hello-world \"/hello\" hello 2 seconds ago Exited (0) Less than a second ago \ncompose_test_proxy nginx:1.19.9-alpine \"/docker-entrypoint.…\" proxy 2 seconds ago Up Less than a second 80/tcp\ncompose_test_web nginx:1.16.0 \"nginx -g 'daemon of…\" web 2 seconds ago Up 1 second 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp\n`

const psOut = mapPsOutput(output)
Expand Down

0 comments on commit fcabbc2

Please sign in to comment.